Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",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.001018/0.001019, allocations: 185.1 kB / 17.06 MB, free: 5.074 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.373/1.373, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 94.97 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3774/0.3774, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3795, allocations: 61.89 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.5282, allocations: 94.68 MB / 0.6021 GB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5286, allocations: 83.92 kB / 0.6022 GB, free: 364 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07457/0.6032, allocations: 28.03 MB / 0.6295 GB, free: 4.109 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.56e-06/0.6033, allocations: 11.94 kB / 0.6296 GB, free: 4.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001056/0.6034, allocations: 39.94 kB / 0.6296 GB, free: 4.059 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.004332/0.6077, allocations: 1.667 MB / 0.6312 GB, free: 2.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.6078, allocations: 8.031 kB / 0.6312 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005474/0.6084, allocations: 346.4 kB / 0.6316 GB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008195/0.6092, allocations: 273.1 kB / 0.6318 GB, free: 1.711 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.6108, allocations: 0.8387 MB / 0.6326 GB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6109, allocations: 143.7 kB / 0.6328 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.6112, allocations: 184 kB / 0.633 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00458/0.6158, allocations: 3.364 MB / 0.6362 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.6158, allocations: 19.81 kB / 0.6363 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.616, allocations: 87.95 kB / 0.6363 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/0.6164, allocations: 336.1 kB / 0.6367 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.6193, allocations: 1.869 MB / 0.6385 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.6343, allocations: 15.21 MB / 0.6533 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.6344, allocations: 169.1 kB / 0.6535 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.6345, allocations: 79.28 kB / 0.6536 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.6345, allocations: 105.8 kB / 0.6537 GB, free: 10.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 3.286e-06/0.6346, allocations: 0 / 0.6537 GB, free: 10.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002743/0.6348, allocations: 156 kB / 0.6538 GB, free: 10.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.6349, allocations: 130.7 kB / 0.654 GB, free: 10.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.6368, allocations: 1.475 MB / 0.6554 GB, free: 8.586 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6368, allocations: 25.7 kB / 0.6554 GB, free: 8.555 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009853/0.6378, allocations: 1.367 MB / 0.6568 GB, free: 7.164 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.6379, allocations: 43.95 kB / 0.6568 GB, free: 7.121 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.6379, allocations: 40 kB / 0.6568 GB, free: 7.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.6382, allocations: 442.7 kB / 0.6573 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.6387, allocations: 359.8 kB / 0.6576 GB, free: 6.285 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.6405, allocations: 1.921 MB / 0.6595 GB, free: 3.547 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.6415, allocations: 0.7763 MB / 0.6602 GB, free: 2.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/0.6416, allocations: 16 kB / 0.6602 GB, free: 2.754 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00309/0.6447, allocations: 2.092 MB / 0.6623 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.6447, allocations: 32 kB / 0.6623 GB, free: 0.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-05/0.6448, allocations: 60.09 kB / 0.6624 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.142e-05/0.6449, allocations: 80 kB / 0.6625 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.646, allocations: 498.9 kB / 0.6629 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.764e-05/0.6461, allocations: 111.6 kB / 0.663 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.6476, allocations: 316.4 kB / 0.6633 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.6477, allocations: 144 kB / 0.6635 GB, free: 15.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001293/0.649, allocations: 0.8667 MB / 0.6643 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.6492, allocations: 231.3 kB / 0.6645 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.6494, allocations: 231.2 kB / 0.6648 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.414e-05/0.6495, allocations: 180.2 kB / 0.6649 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.187e-05/0.6496, allocations: 184.2 kB / 0.6651 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/0.6497, allocations: 184.2 kB / 0.6653 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.6514, allocations: 1.477 MB / 0.6667 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.6514, allocations: 105 kB / 0.6668 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.6515, allocations: 104.9 kB / 0.6669 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.6516, allocations: 180.4 kB / 0.6671 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/0.6517, allocations: 180.3 kB / 0.6673 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.529e-05/0.6518, allocations: 184.2 kB / 0.6675 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.942e-05/0.6518, allocations: 180.2 kB / 0.6676 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.6521, allocations: 433.3 kB / 0.668 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.6525, allocations: 296.5 kB / 0.6683 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6526, allocations: 184.2 kB / 0.6685 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.6529, allocations: 109 kB / 0.6686 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.653, allocations: 188.2 kB / 0.6688 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.6531, allocations: 101 kB / 0.6689 GB, free: 9.668 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.6544, allocations: 1.003 MB / 0.6699 GB, free: 8.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6544, allocations: 0 / 0.6699 GB, free: 8.668 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001851/0.6563, allocations: 438.1 kB / 0.6703 GB, free: 8.238 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0006672/0.657, allocations: 0.9477 MB / 0.6712 GB, free: 7.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.6584, allocations: 0.888 MB / 0.6721 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6584, allocations: 4.25 kB / 0.6721 GB, free: 6.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.6584, allocations: 0 / 0.6721 GB, free: 6.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007601/0.6592, allocations: 0.647 MB / 0.6727 GB, free: 5.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2916/0.9508, allocations: 48.51 MB / 0.7201 GB, free: 79.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.9521, allocations: 1.612 MB / 0.7216 GB, free: 79.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001281/0.9534, allocations: 494.9 kB / 0.7221 GB, free: 79.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/0.954, allocations: 0.6686 MB / 0.7228 GB, free: 79.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.954, allocations: 0 / 0.7228 GB, free: 79.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/1.004, allocations: 22.24 MB / 0.7445 GB, free: 77.78 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.004, allocations: 175 kB / 0.7447 GB, free: 77.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.691, allocations: 2.812 kB / 0.7447 GB, free: 77.55 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat