Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009168/0.0009165, allocations: 88.05 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.324e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1568, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.6443, allocations: 103.3 MB / 0.6027 GB, free: 1.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.6446, allocations: 75.95 kB / 0.6028 GB, free: 1.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.228/0.8726, allocations: 84.98 MB / 0.6857 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8727, allocations: 0 / 0.6857 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001846/0.8729, allocations: 64 kB / 0.6858 GB, free: 12.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01157/0.8845, allocations: 3.451 MB / 0.6892 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.8846, allocations: 12.03 kB / 0.6892 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002705/0.8873, allocations: 0.7586 MB / 0.6899 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.903, allocations: 3.485 MB / 0.6933 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.915, allocations: 4.026 MB / 0.6973 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.9155, allocations: 291.5 kB / 0.6975 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/0.9181, allocations: 379.8 kB / 0.6979 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.9431, allocations: 9.689 MB / 0.7074 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.9433, allocations: 27.72 kB / 0.7074 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.9446, allocations: 171.9 kB / 0.7076 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.9462, allocations: 1.133 MB / 0.7087 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.383/1.329, allocations: 9.195 MB / 0.7176 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06014/1.389, allocations: 31.7 MB / 0.7486 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00576/1.395, allocations: 3.308 MB / 0.7518 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/1.397, allocations: 1.054 MB / 0.7529 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.398, allocations: 1.314 MB / 0.7541 GB, free: 114 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.398, allocations: 43.78 kB / 0.7542 GB, free: 114 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=185): time 6.141e-06/1.398, allocations: 0 / 0.7542 GB, free: 114 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.01832/1.416, allocations: 7.995 MB / 0.762 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/1.416, allocations: 70.42 kB / 0.7621 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004918/1.421, allocations: 2.306 MB / 0.7643 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/1.422, allocations: 44.77 kB / 0.7644 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001763/1.423, allocations: 2.668 MB / 0.767 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007573/1.424, allocations: 0.7048 MB / 0.7676 GB, free: 108 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/1.424, allocations: 97.7 kB / 0.7677 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003724/1.425, allocations: 0.5141 MB / 0.7682 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/1.427, allocations: 1.483 MB / 0.7697 GB, free: 107 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.431, allocations: 4.311 MB / 0.7739 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/1.434, allocations: 2.594 MB / 0.7764 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-05/1.434, allocations: 28.25 kB / 0.7765 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.008336/1.442, allocations: 5.725 MB / 0.7821 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/1.442, allocations: 48.69 kB / 0.7821 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/1.443, allocations: 100.7 kB / 0.7822 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/1.443, allocations: 186.1 kB / 0.7824 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/1.446, allocations: 1.066 MB / 0.7834 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/1.447, allocations: 1.67 MB / 0.785 GB, free: 98.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/1.451, allocations: 215.6 kB / 0.7853 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007368/1.451, allocations: 298.2 kB / 0.7855 GB, free: 98.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 584 * Array equations: 6 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001077/1.453, allocations: 472.5 kB / 0.786 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/1.453, allocations: 245.2 kB / 0.7862 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/1.457, allocations: 2.497 MB / 0.7887 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/1.457, allocations: 19.5 kB / 0.7887 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.457, allocations: 7.312 kB / 0.7887 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.457, allocations: 7.266 kB / 0.7887 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.473, allocations: 7.955 MB / 0.7965 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/1.473, allocations: 10.28 kB / 0.7965 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.474, allocations: 248.2 kB / 0.7967 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/1.474, allocations: 59.27 kB / 0.7968 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/1.474, allocations: 39.06 kB / 0.7968 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/1.475, allocations: 1.505 MB / 0.7983 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.475, allocations: 15.06 kB / 0.7983 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/1.48, allocations: 4.784 MB / 0.803 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007881/1.481, allocations: 302 kB / 0.8032 GB, free: 89.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/1.481, allocations: 38.22 kB / 0.8033 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.483, allocations: 61.53 kB / 0.8033 GB, free: 89.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.483, allocations: 124.5 kB / 0.8035 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.483, allocations: 67.88 kB / 0.8035 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00276/1.486, allocations: 1.561 MB / 0.805 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.486, allocations: 0 / 0.805 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004951/1.491, allocations: 0.8073 MB / 0.8058 GB, free: 87.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 6 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009095/1.5, allocations: 8.043 MB / 0.8137 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008497/1.508, allocations: 3.764 MB / 0.8174 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.077e-05/1.508, allocations: 4 kB / 0.8174 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/1.511, allocations: 1.22 MB / 0.8186 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.514, allocations: 311 kB / 0.8189 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/1.542, allocations: 8.289 MB / 0.827 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005141/1.548, allocations: 3.213 MB / 0.8301 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006474/1.554, allocations: 1.718 MB / 0.8318 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003934/1.558, allocations: 1.69 MB / 0.8334 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/1.558, allocations: 3.938 kB / 0.8334 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/1.683, allocations: 56.41 MB / 0.8885 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.683, allocations: 173.3 kB / 0.8887 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/5.693, allocations: 3.938 kB / 0.8887 GB, free: 10.34 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat