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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4233, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009927/0.4333, allocations: 8.737 MB / 0.5274 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00608/0.4394, allocations: 2.239 MB / 0.5296 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.4415, allocations: 41.06 kB / 0.5296 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.4454, allocations: 1.536 MB / 0.5311 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.4471, allocations: 499.7 kB / 0.5316 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.4474, allocations: 76.19 kB / 0.5317 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.4486, allocations: 0.937 MB / 0.5326 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.4505, allocations: 1.506 MB / 0.5341 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.4512, allocations: 0.5396 MB / 0.5346 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008756/0.4521, allocations: 0.6864 MB / 0.5353 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.4523, allocations: 117.8 kB / 0.5354 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.4526, allocations: 117 kB / 0.5355 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.4534, allocations: 0.7404 MB / 0.5362 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008077/0.4542, allocations: 0.8629 MB / 0.5371 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.4569, allocations: 2.333 MB / 0.5393 GB, free: 5.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.457, allocations: 0 / 0.5393 GB, free: 5.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.457, allocations: 0 / 0.5393 GB, free: 5.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.019e-05/0.457, allocations: 1.25 kB / 0.5393 GB, free: 5.602 MB / 398.1 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.003141/0.4602, allocations: 1.96 MB / 0.5413 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4602, allocations: 17.8 kB / 0.5413 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.4609, allocations: 208.3 kB / 0.5415 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.4619, allocations: 0.7261 MB / 0.5422 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.4621, allocations: 115.5 kB / 0.5423 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.4623, allocations: 154.1 kB / 0.5424 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/0.4664, allocations: 3.378 MB / 0.5457 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.4664, allocations: 15.88 kB / 0.5458 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.4666, allocations: 75.88 kB / 0.5458 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007244/0.4673, allocations: 0.6188 MB / 0.5464 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.4702, allocations: 1.862 MB / 0.5483 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.4822, allocations: 13.47 MB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4823, allocations: 181.1 kB / 0.5616 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.4823, allocations: 80.14 kB / 0.5617 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4824, allocations: 83.2 kB / 0.5617 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.4824, allocations: 105.8 kB / 0.5618 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.4824, allocations: 0 / 0.5618 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002935/0.4827, allocations: 148.1 kB / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.4828, allocations: 130.7 kB / 0.5621 GB, free: 14.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.4848, allocations: 1.655 MB / 0.5637 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.4848, allocations: 29.64 kB / 0.5637 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009503/0.4858, allocations: 1.363 MB / 0.5651 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.4858, allocations: 43.95 kB / 0.5651 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/0.4863, allocations: 418.8 kB / 0.5655 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4865, allocations: 357.9 kB / 0.5659 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.487, allocations: 379.8 kB / 0.5662 GB, free: 10.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4888, allocations: 1.929 MB / 0.5681 GB, free: 7.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.4913, allocations: 2.503 MB / 0.5705 GB, free: 4.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.4913, allocations: 24 kB / 0.5706 GB, free: 4.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002856/0.4942, allocations: 2.111 MB / 0.5726 GB, free: 2.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.4943, allocations: 28 kB / 0.5727 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/0.4943, allocations: 60 kB / 0.5727 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-05/0.4944, allocations: 72 kB / 0.5728 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4955, allocations: 491 kB / 0.5733 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.638e-05/0.4956, allocations: 111.6 kB / 0.5734 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.497, allocations: 320.4 kB / 0.5737 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4971, allocations: 140.4 kB / 0.5738 GB, free: 1.203 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001136/0.4983, allocations: 0.8666 MB / 0.5746 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4985, allocations: 227.3 kB / 0.5749 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.4987, allocations: 224.6 kB / 0.5751 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.4987, allocations: 188.2 kB / 0.5753 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.228e-05/0.4988, allocations: 180.3 kB / 0.5754 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.919e-05/0.4989, allocations: 188.2 kB / 0.5756 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.5005, allocations: 1.478 MB / 0.5771 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/0.5005, allocations: 108.9 kB / 0.5772 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.5005, allocations: 108.9 kB / 0.5773 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-05/0.5006, allocations: 180.3 kB / 0.5774 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.5007, allocations: 184.2 kB / 0.5776 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-05/0.5007, allocations: 180.2 kB / 0.5778 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.494e-05/0.5008, allocations: 176.3 kB / 0.5779 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.5011, allocations: 433.3 kB / 0.5784 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.5013, allocations: 296.4 kB / 0.5786 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.5015, allocations: 180.3 kB / 0.5788 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.5018, allocations: 101 kB / 0.5789 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.5018, allocations: 188.1 kB / 0.5791 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.5019, allocations: 109 kB / 0.5792 GB, free: 11.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.5031, allocations: 1.014 MB / 0.5802 GB, free: 10.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5031, allocations: 0 / 0.5802 GB, free: 10.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001627/0.5048, allocations: 434.1 kB / 0.5806 GB, free: 10 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.505, allocations: 174.4 kB / 0.5808 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5062, allocations: 0.9076 MB / 0.5817 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5062, allocations: 0 / 0.5817 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.5062, allocations: 0 / 0.5817 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.507, allocations: 0.5827 MB / 0.5822 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.5112, allocations: 2.756 MB / 0.5849 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.5124, allocations: 1.575 MB / 0.5865 GB, free: 3.945 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009903/0.5134, allocations: 495.4 kB / 0.5869 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5135, allocations: 75.44 kB / 0.587 GB, free: 3.383 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5136, allocations: 0 / 0.587 GB, free: 3.383 MB / 446.1 MB Notification: Performance of Templates: time 0.01688/0.5304, allocations: 8.837 MB / 0.5956 GB, free: 10.6 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches