Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",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.002376/0.00238, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 94.23 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.286/0.286, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.884e-05, allocations: 7.984 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4062, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.5874, allocations: 101.2 MB / 0.5648 GB, free: 14.11 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5877, allocations: 79.41 kB / 0.5649 GB, free: 14.04 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6914/1.279, allocations: 84 MB / 0.6469 GB, free: 111.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.656e-06/1.279, allocations: 0 / 0.6469 GB, free: 111.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002167/1.279, allocations: 75.88 kB / 0.647 GB, free: 111.5 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01414/1.294, allocations: 3.52 MB / 0.6504 GB, free: 109.9 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.294, allocations: 17.06 kB / 0.6504 GB, free: 109.9 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/1.322, allocations: 3.51 MB / 0.6539 GB, free: 109.7 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/1.339, allocations: 4.199 MB / 0.658 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/1.339, allocations: 126.9 kB / 0.6581 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/1.342, allocations: 229 kB / 0.6583 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01818/1.36, allocations: 7.039 MB / 0.6652 GB, free: 109.1 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02604/1.386, allocations: 9.215 MB / 0.6742 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/1.386, allocations: 22.12 kB / 0.6742 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002243/1.389, allocations: 11.28 kB / 0.6742 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003045/1.392, allocations: 1.174 MB / 0.6754 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07922/1.471, allocations: 29.81 MB / 0.7045 GB, free: 89.93 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/1.476, allocations: 2.959 MB / 0.7074 GB, free: 88.12 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/1.478, allocations: 1.025 MB / 0.7084 GB, free: 87.78 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/1.479, allocations: 1.311 MB / 0.7096 GB, free: 86.6 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.479, allocations: 46.78 kB / 0.7097 GB, free: 86.55 MB / 475.1 MB Notification: Performance of pre-optimization done (n=189): time 6.332e-06/1.48, allocations: 4 kB / 0.7097 GB, free: 86.55 MB / 475.1 MB Notification: Performance of matching and sorting (n=195): time 0.02473/1.504, allocations: 7.967 MB / 0.7175 GB, free: 83.24 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.504, allocations: 99.58 kB / 0.7176 GB, free: 83.14 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/1.508, allocations: 2.262 MB / 0.7198 GB, free: 81.48 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003356/1.509, allocations: 29.64 kB / 0.7198 GB, free: 81.44 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/1.511, allocations: 2.842 MB / 0.7226 GB, free: 78.85 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009142/1.512, allocations: 0.7061 MB / 0.7233 GB, free: 78.21 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004524/1.512, allocations: 0 / 0.7233 GB, free: 78.21 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003519/1.513, allocations: 0.5372 MB / 0.7238 GB, free: 77.73 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/1.516, allocations: 1.491 MB / 0.7252 GB, free: 76.41 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/1.521, allocations: 4.628 MB / 0.7298 GB, free: 70.44 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/1.526, allocations: 2.683 MB / 0.7324 GB, free: 68.19 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.366e-05/1.527, allocations: 35.94 kB / 0.7324 GB, free: 68.15 MB / 475.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01375/1.54, allocations: 5.443 MB / 0.7377 GB, free: 63.35 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/1.54, allocations: 56 kB / 0.7378 GB, free: 63.3 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.541, allocations: 112 kB / 0.7379 GB, free: 63.19 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/1.541, allocations: 204.1 kB / 0.7381 GB, free: 62.99 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/1.548, allocations: 1.184 MB / 0.7392 GB, free: 61.94 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/1.55, allocations: 1.642 MB / 0.7408 GB, free: 60.27 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/1.554, allocations: 129.5 kB / 0.741 GB, free: 60.16 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.555, allocations: 319.5 kB / 0.7413 GB, free: 59.85 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (651): * Single equations (assignments): 644 * 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.001492/1.557, allocations: 380.8 kB / 0.7416 GB, free: 59.48 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007506/1.564, allocations: 2.124 MB / 0.7437 GB, free: 57.58 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.566, allocations: 260.7 kB / 0.744 GB, free: 57.32 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009683/1.575, allocations: 2.419 MB / 0.7463 GB, free: 55.25 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/1.575, allocations: 20 kB / 0.7463 GB, free: 55.23 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.575, allocations: 7.938 kB / 0.7463 GB, free: 55.23 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/1.576, allocations: 6.797 kB / 0.7464 GB, free: 55.23 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.592, allocations: 6.917 MB / 0.7531 GB, free: 49.23 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.592, allocations: 11.66 kB / 0.7531 GB, free: 49.22 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.594, allocations: 255.8 kB / 0.7534 GB, free: 49 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/1.595, allocations: 62.44 kB / 0.7534 GB, free: 48.95 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.595, allocations: 23.75 kB / 0.7534 GB, free: 48.93 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.596, allocations: 1.427 MB / 0.7548 GB, free: 47.44 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/1.596, allocations: 19.5 kB / 0.7549 GB, free: 47.43 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007187/1.604, allocations: 4.854 MB / 0.7596 GB, free: 42.54 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.605, allocations: 0.5031 MB / 0.7601 GB, free: 42.05 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/1.606, allocations: 23.7 kB / 0.7601 GB, free: 42.03 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.607, allocations: 37.59 kB / 0.7601 GB, free: 42.01 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/1.608, allocations: 124.8 kB / 0.7603 GB, free: 41.92 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.608, allocations: 63.98 kB / 0.7603 GB, free: 41.86 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002857/1.611, allocations: 1.478 MB / 0.7618 GB, free: 40.39 MB / 475.1 MB Notification: Performance of sort global known variables: time 8.41e-07/1.611, allocations: 0 / 0.7618 GB, free: 40.39 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005693/1.616, allocations: 0.7228 MB / 0.7625 GB, free: 39.66 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.00804/1.624, allocations: 8.323 MB / 0.7706 GB, free: 30.99 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.007473/1.632, allocations: 3.718 MB / 0.7742 GB, free: 27.29 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/1.632, allocations: 4 kB / 0.7742 GB, free: 27.29 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.634, allocations: 1.194 MB / 0.7754 GB, free: 26.09 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.636, allocations: 208.6 kB / 0.7756 GB, free: 25.88 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/1.661, allocations: 8.817 MB / 0.7842 GB, free: 16.86 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005671/1.667, allocations: 3.29 MB / 0.7874 GB, free: 13.55 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003969/1.671, allocations: 1.811 MB / 0.7892 GB, free: 11.74 MB / 475.1 MB Notification: Performance of SimCode: time 1.413e-06/1.671, allocations: 0 / 0.7892 GB, free: 11.74 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.454/6.125, allocations: 86.13 MB / 0.8733 GB, free: 123 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat