Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.0008301, allocations: 78.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.664e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08088/0.08092, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2972/0.3782, allocations: 99.59 MB / 469.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.3785, allocations: 90.62 kB / 469.8 MB, free: 9.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3795/0.758, allocations: 75.67 MB / 0.5327 GB, free: 93.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7581, allocations: 0 / 0.5327 GB, free: 93.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002129/0.7583, allocations: 71.89 kB / 0.5328 GB, free: 93.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.0103/0.7686, allocations: 3.498 MB / 0.5362 GB, free: 93.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7687, allocations: 9.5 kB / 0.5362 GB, free: 93.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002262/0.771, allocations: 0.6857 MB / 0.5369 GB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009997/0.781, allocations: 2.266 MB / 0.5391 GB, free: 92.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.7912, allocations: 3.935 MB / 0.5429 GB, free: 92.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.7916, allocations: 284.2 kB / 0.5432 GB, free: 92.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.7929, allocations: 376.9 kB / 0.5435 GB, free: 92.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/0.8147, allocations: 10.38 MB / 0.5537 GB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/0.815, allocations: 52.5 kB / 0.5537 GB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/0.8162, allocations: 184.7 kB / 0.5539 GB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001382/0.8176, allocations: 0.9989 MB / 0.5549 GB, free: 89.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.8336, allocations: 8.586 MB / 0.5633 GB, free: 89.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/0.8726, allocations: 44.73 MB / 0.6069 GB, free: 56.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008267/0.8809, allocations: 3.842 MB / 0.6107 GB, free: 54.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.8829, allocations: 1.77 MB / 0.6124 GB, free: 54.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.8931, allocations: 7.644 MB / 0.6199 GB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.8932, allocations: 50.53 kB / 0.6199 GB, free: 49.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.208e-06/0.8932, allocations: 0 / 0.6199 GB, free: 49.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.03795/0.9312, allocations: 14.72 MB / 0.6343 GB, free: 38.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.9312, allocations: 149.5 kB / 0.6345 GB, free: 38.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.9348, allocations: 3.057 MB / 0.6374 GB, free: 35.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.9351, allocations: 53.7 kB / 0.6375 GB, free: 35.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.9361, allocations: 2.739 MB / 0.6402 GB, free: 32.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.9366, allocations: 0.6392 MB / 0.6408 GB, free: 32.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.9368, allocations: 108 kB / 0.6409 GB, free: 32.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.937, allocations: 0.5382 MB / 0.6414 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.9392, allocations: 1.863 MB / 0.6432 GB, free: 30.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.9423, allocations: 5.261 MB / 0.6484 GB, free: 23.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.9456, allocations: 3.093 MB / 0.6514 GB, free: 20.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.9456, allocations: 40 kB / 0.6514 GB, free: 20.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0127/0.9583, allocations: 7.998 MB / 0.6592 GB, free: 13.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/0.9584, allocations: 57.25 kB / 0.6593 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.9585, allocations: 120 kB / 0.6594 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/0.9621, allocations: 1.305 MB / 0.6607 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/0.9658, allocations: 1.271 MB / 0.6619 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/0.9732, allocations: 6.105 MB / 0.6679 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/0.9775, allocations: 347.5 kB / 0.6682 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/0.9784, allocations: 340 kB / 0.6685 GB, free: 4.168 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (679): * Single equations (assignments): 675 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001243/0.9797, allocations: 0.5299 MB / 0.6691 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.9803, allocations: 312 kB / 0.6694 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006566/0.9869, allocations: 3.319 MB / 0.6726 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/0.987, allocations: 20 kB / 0.6726 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.987, allocations: 4 kB / 0.6726 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.987, allocations: 7.969 kB / 0.6726 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.003, allocations: 7.576 MB / 0.68 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.003, allocations: 0 / 0.68 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.004, allocations: 239.7 kB / 0.6803 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/1.008, allocations: 1.109 MB / 0.6813 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/1.008, allocations: 36 kB / 0.6814 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/1.016, allocations: 5.755 MB / 0.687 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.016, allocations: 3.938 kB / 0.687 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2095/1.226, allocations: 5.682 MB / 0.6926 GB, free: 98.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.227, allocations: 0.5827 MB / 0.6931 GB, free: 98.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/1.227, allocations: 23.86 kB / 0.6931 GB, free: 98.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.229, allocations: 107.1 kB / 0.6932 GB, free: 98.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.229, allocations: 89.3 kB / 0.6933 GB, free: 98.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.229, allocations: 43.11 kB / 0.6934 GB, free: 98.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003742/1.233, allocations: 2.103 MB / 0.6954 GB, free: 97.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.233, allocations: 5.719 kB / 0.6954 GB, free: 97.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004393/1.237, allocations: 0.9238 MB / 0.6963 GB, free: 97.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009637/1.247, allocations: 6.518 MB / 0.7027 GB, free: 96.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005799/1.253, allocations: 4.646 MB / 0.7072 GB, free: 96.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.253, allocations: 0 / 0.7072 GB, free: 96.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.255, allocations: 1.509 MB / 0.7087 GB, free: 96.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.257, allocations: 321.9 kB / 0.709 GB, free: 96.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.273, allocations: 7.771 MB / 0.7166 GB, free: 95.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/1.275, allocations: 2.932 MB / 0.7195 GB, free: 94.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003711/1.279, allocations: 1.709 MB / 0.7211 GB, free: 94.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.281, allocations: 1.592 MB / 0.7227 GB, free: 93.35 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/1.281, allocations: 0 / 0.7227 GB, free: 93.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08494/1.365, allocations: 67.96 MB / 0.7891 GB, free: 52.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/1.366, allocations: 197 kB / 0.7892 GB, free: 52.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/5.132, allocations: 8.062 kB / 0.7893 GB, free: 52.15 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat