Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",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.001346/0.001346, allocations: 180.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 86.28 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.987e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5265, allocations: 104.1 MB / 0.5677 GB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.5268, allocations: 77.22 kB / 0.5678 GB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2234/0.7502, allocations: 84.92 MB / 0.6507 GB, free: 10.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7503, allocations: 4 kB / 0.6507 GB, free: 10.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.7504, allocations: 84 kB / 0.6508 GB, free: 10.44 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009094/0.7595, allocations: 3.98 MB / 0.6547 GB, free: 6.391 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7596, allocations: 12.03 kB / 0.6547 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.7707, allocations: 2.447 MB / 0.6571 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.7837, allocations: 5.161 MB / 0.6621 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.7839, allocations: 140 kB / 0.6622 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/0.7847, allocations: 267.7 kB / 0.6625 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009549/0.7943, allocations: 6.162 MB / 0.6685 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.8076, allocations: 9.454 MB / 0.6777 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.8078, allocations: 59.41 kB / 0.6778 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.8082, allocations: 32 kB / 0.6778 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001506/0.8097, allocations: 1.049 MB / 0.6788 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3087/1.118, allocations: 47.32 MB / 0.7251 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/1.121, allocations: 2.063 MB / 0.7271 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/1.123, allocations: 0.926 MB / 0.728 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.124, allocations: 1.201 MB / 0.7292 GB, free: 93.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.68e-05/1.124, allocations: 56.91 kB / 0.7292 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=158): time 7.444e-06/1.124, allocations: 0 / 0.7292 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=170): time 0.02214/1.146, allocations: 9.182 MB / 0.7382 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/1.146, allocations: 250.4 kB / 0.7384 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/1.151, allocations: 3.061 MB / 0.7414 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/1.151, allocations: 31.77 kB / 0.7414 GB, free: 88.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.153, allocations: 3.218 MB / 0.7446 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006614/1.153, allocations: 0.6494 MB / 0.7452 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.153, allocations: 0 / 0.7452 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002731/1.154, allocations: 0.572 MB / 0.7458 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/1.155, allocations: 1.5 MB / 0.7472 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/1.159, allocations: 5.427 MB / 0.7525 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/1.162, allocations: 2.844 MB / 0.7553 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.347e-05/1.162, allocations: 41.75 kB / 0.7553 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.008047/1.17, allocations: 6.016 MB / 0.7612 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/1.17, allocations: 70.73 kB / 0.7613 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/1.17, allocations: 145.6 kB / 0.7614 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/1.17, allocations: 207.4 kB / 0.7616 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/1.175, allocations: 1.489 MB / 0.7631 GB, free: 80.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001456/1.175, allocations: 280.7 kB / 0.7634 GB, free: 80.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.179, allocations: 269.9 kB / 0.7636 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007388/1.18, allocations: 389.5 kB / 0.764 GB, free: 80.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (793): * Single equations (assignments): 790 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008129/1.181, allocations: 468.7 kB / 0.7644 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002417/1.183, allocations: 1.664 MB / 0.7661 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/1.184, allocations: 327.9 kB / 0.7664 GB, free: 79.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.185, allocations: 1.247 MB / 0.7676 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/1.185, allocations: 18.91 kB / 0.7676 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.186, allocations: 7.625 kB / 0.7676 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.186, allocations: 3.891 kB / 0.7676 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00749/1.193, allocations: 5.321 MB / 0.7728 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.193, allocations: 19.03 kB / 0.7728 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/1.194, allocations: 295.7 kB / 0.7731 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.357e-05/1.194, allocations: 30.5 kB / 0.7731 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/1.194, allocations: 32.06 kB / 0.7732 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/1.194, allocations: 38.62 kB / 0.7732 GB, free: 78.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.194, allocations: 27.16 kB / 0.7732 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003482/1.198, allocations: 5.187 MB / 0.7783 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008821/1.199, allocations: 0.5014 MB / 0.7788 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/1.199, allocations: 30.47 kB / 0.7788 GB, free: 73.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.2, allocations: 72.58 kB / 0.7789 GB, free: 73.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/1.2, allocations: 151.6 kB / 0.779 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-05/1.2, allocations: 75.23 kB / 0.7791 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002585/1.203, allocations: 2.018 MB / 0.7811 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.203, allocations: 0 / 0.7811 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004689/1.208, allocations: 0.7842 MB / 0.7818 GB, free: 73.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 151 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003967/1.212, allocations: 10.33 MB / 0.7919 GB, free: 63.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004643/1.216, allocations: 3.438 MB / 0.7953 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.216, allocations: 6.062 kB / 0.7953 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/1.217, allocations: 0.7249 MB / 0.796 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/1.219, allocations: 362.7 kB / 0.7963 GB, free: 62.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.236, allocations: 8.361 MB / 0.8045 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/1.239, allocations: 3.274 MB / 0.8077 GB, free: 56.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004269/1.243, allocations: 1.897 MB / 0.8096 GB, free: 55.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/1.245, allocations: 1.854 MB / 0.8114 GB, free: 53.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/1.245, allocations: 4 kB / 0.8114 GB, free: 53.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09755/1.343, allocations: 63.2 MB / 0.8731 GB, free: 404 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.343, allocations: 126.2 kB / 0.8732 GB, free: 208 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/5.311, allocations: 0 / 0.8732 GB, free: 208 kB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat