Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0125/0.0125, allocations: 174.7 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.015/2.015, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002021/0.00202, allocations: 112.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3547/0.3547, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005178, allocations: 10.22 kB / 406.3 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5811/0.6992, allocations: 95.48 MB / 0.5436 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.6996, allocations: 75.81 kB / 0.5436 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3401/1.04, allocations: 84.64 MB / 0.6263 GB, free: 168 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.04, allocations: 0 / 0.6263 GB, free: 168 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002268/1.04, allocations: 68 kB / 0.6264 GB, free: 100 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01566/1.056, allocations: 3.661 MB / 0.6299 GB, free: 12.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/1.056, allocations: 8.031 kB / 0.6299 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004157/1.06, allocations: 0.7813 MB / 0.6307 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02838/1.088, allocations: 3.499 MB / 0.6341 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/1.106, allocations: 4.207 MB / 0.6382 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005081/1.107, allocations: 302.9 kB / 0.6385 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/1.11, allocations: 389.7 kB / 0.6389 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/1.146, allocations: 9.942 MB / 0.6486 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/1.146, allocations: 27.72 kB / 0.6486 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002772/1.149, allocations: 179 kB / 0.6488 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003306/1.152, allocations: 1.16 MB / 0.6499 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/1.184, allocations: 9.43 MB / 0.6591 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07788/1.262, allocations: 32.44 MB / 0.6908 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/1.273, allocations: 3.364 MB / 0.6941 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.275, allocations: 1.31 MB / 0.6954 GB, free: 8.672 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.271e-05/1.275, allocations: 51.88 kB / 0.6954 GB, free: 8.609 MB / 474.7 MB Notification: Performance of pre-optimization done (n=187): time 6.021e-06/1.275, allocations: 0 / 0.6954 GB, free: 8.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.03957/1.314, allocations: 10.29 MB / 0.7055 GB, free: 14.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/1.315, allocations: 98.36 kB / 0.7056 GB, free: 14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006143/1.321, allocations: 2.342 MB / 0.7079 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004263/1.321, allocations: 49.64 kB / 0.7079 GB, free: 11.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00322/1.325, allocations: 2.73 MB / 0.7106 GB, free: 8.844 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.326, allocations: 0.7082 MB / 0.7113 GB, free: 8.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/1.327, allocations: 103.5 kB / 0.7114 GB, free: 8.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000535/1.327, allocations: 0.5167 MB / 0.7119 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.332, allocations: 1.532 MB / 0.7134 GB, free: 5.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00828/1.34, allocations: 4.42 MB / 0.7177 GB, free: 120 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4409/1.781, allocations: 2.61 MB / 0.7202 GB, free: 124.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.781, allocations: 28.28 kB / 0.7203 GB, free: 124.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01682/1.798, allocations: 5.864 MB / 0.726 GB, free: 124.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.798, allocations: 48.41 kB / 0.726 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/1.799, allocations: 109 kB / 0.7261 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/1.799, allocations: 189.4 kB / 0.7263 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007124/1.806, allocations: 1.085 MB / 0.7274 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.809, allocations: 1.695 MB / 0.729 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.813, allocations: 215.7 kB / 0.7292 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.814, allocations: 296.7 kB / 0.7295 GB, free: 122.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 594 * 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.006193/1.821, allocations: 2.021 MB / 0.7315 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.821, allocations: 255.4 kB / 0.7317 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006371/1.828, allocations: 2.526 MB / 0.7342 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/1.828, allocations: 21.41 kB / 0.7342 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.828, allocations: 7.344 kB / 0.7342 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.828, allocations: 11.3 kB / 0.7342 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.85, allocations: 8.17 MB / 0.7422 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.85, allocations: 11.53 kB / 0.7422 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.852, allocations: 262.3 kB / 0.7425 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/1.852, allocations: 57.52 kB / 0.7425 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/1.853, allocations: 44.98 kB / 0.7426 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.854, allocations: 1.511 MB / 0.7441 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/1.854, allocations: 22.61 kB / 0.7441 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008844/1.863, allocations: 4.895 MB / 0.7489 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.865, allocations: 0.4967 MB / 0.7493 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006031/1.865, allocations: 45.39 kB / 0.7494 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.867, allocations: 57.06 kB / 0.7494 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/1.867, allocations: 121.5 kB / 0.7496 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.867, allocations: 65.23 kB / 0.7496 GB, free: 118.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003651/1.871, allocations: 1.606 MB / 0.7512 GB, free: 118 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.871, allocations: 3.656 kB / 0.7512 GB, free: 118 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006562/1.878, allocations: 0.8134 MB / 0.752 GB, free: 118 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * 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.01004/1.888, allocations: 8.268 MB / 0.7601 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008922/1.897, allocations: 3.846 MB / 0.7638 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.897, allocations: 3.781 kB / 0.7638 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/1.9, allocations: 1.235 MB / 0.765 GB, free: 111.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/1.902, allocations: 317.9 kB / 0.7653 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07353/1.976, allocations: 95.01 MB / 0.8581 GB, free: 25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007419/1.983, allocations: 3.276 MB / 0.8613 GB, free: 22.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007543/1.991, allocations: 1.727 MB / 0.863 GB, free: 21.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004412/1.995, allocations: 1.752 MB / 0.8647 GB, free: 19.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.995, allocations: 3.938 kB / 0.8647 GB, free: 19.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6712/2.666, allocations: 56.16 MB / 0.9196 GB, free: 117.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/2.667, allocations: 196 kB / 0.9197 GB, free: 117.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.55/7.217, allocations: 0 / 0.9197 GB, free: 117.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat