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.001283/0.001291, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001365/0.001365, allocations: 187.8 kB / 18.71 MB, free: 4.324 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2119/0.2119, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 55.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4998, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01108/0.5109, allocations: 8.727 MB / 0.5274 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.5179, allocations: 2.249 MB / 0.5296 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.5196, allocations: 42.44 kB / 0.5296 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.523, allocations: 1.534 MB / 0.5311 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.5246, allocations: 471.8 kB / 0.5316 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.525, allocations: 75.84 kB / 0.5317 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.5264, allocations: 0.9409 MB / 0.5326 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.529, allocations: 1.515 MB / 0.5341 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.53, allocations: 0.5357 MB / 0.5346 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.5313, allocations: 0.6775 MB / 0.5352 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.5316, allocations: 118.6 kB / 0.5354 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/0.5322, allocations: 128.8 kB / 0.5355 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.5332, allocations: 0.737 MB / 0.5362 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.5344, allocations: 0.8577 MB / 0.537 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.538, allocations: 2.341 MB / 0.5393 GB, free: 5.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.538, allocations: 1.281 kB / 0.5393 GB, free: 5.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5381, allocations: 0 / 0.5393 GB, free: 5.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.623e-05/0.5381, allocations: 0 / 0.5393 GB, free: 5.574 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.004402/0.5425, allocations: 1.953 MB / 0.5412 GB, free: 4.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.5426, allocations: 9.438 kB / 0.5412 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/0.5435, allocations: 215.8 kB / 0.5414 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.5451, allocations: 0.7263 MB / 0.5422 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.5453, allocations: 116.6 kB / 0.5423 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.5456, allocations: 153.2 kB / 0.5424 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.5517, allocations: 3.385 MB / 0.5457 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/0.5518, allocations: 11.88 kB / 0.5457 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.552, allocations: 71.94 kB / 0.5458 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/0.5531, allocations: 0.6149 MB / 0.5464 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/0.5577, allocations: 1.869 MB / 0.5482 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01767/0.5754, allocations: 13.48 MB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.5756, allocations: 173.1 kB / 0.5616 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.5756, allocations: 80.14 kB / 0.5616 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.5757, allocations: 79.22 kB / 0.5617 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/0.5758, allocations: 109.8 kB / 0.5618 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 3.296e-06/0.5758, allocations: 0 / 0.5618 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000388/0.5762, allocations: 152.1 kB / 0.562 GB, free: 15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.5763, allocations: 134.6 kB / 0.5621 GB, free: 14.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.5792, allocations: 1.655 MB / 0.5637 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5792, allocations: 25.7 kB / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.5805, allocations: 1.359 MB / 0.565 GB, free: 11.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.5805, allocations: 43.95 kB / 0.5651 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/0.5812, allocations: 418.8 kB / 0.5655 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.5814, allocations: 361.9 kB / 0.5658 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.5822, allocations: 371.8 kB / 0.5662 GB, free: 10.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.5843, allocations: 1.933 MB / 0.5681 GB, free: 7.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.5877, allocations: 2.503 MB / 0.5705 GB, free: 4.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.5878, allocations: 28 kB / 0.5705 GB, free: 4.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005044/0.5928, allocations: 2.115 MB / 0.5726 GB, free: 2.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.5929, allocations: 28 kB / 0.5726 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.981e-05/0.593, allocations: 60 kB / 0.5727 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.5931, allocations: 72 kB / 0.5728 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.5948, allocations: 487 kB / 0.5732 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.595, allocations: 111.6 kB / 0.5733 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.5975, allocations: 320.4 kB / 0.5736 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.5977, allocations: 140.4 kB / 0.5738 GB, free: 1.195 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.001847/0.5996, allocations: 0.8666 MB / 0.5746 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.5999, allocations: 227.3 kB / 0.5748 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.6002, allocations: 224.6 kB / 0.5751 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.799e-05/0.6002, allocations: 184.2 kB / 0.5752 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/0.6003, allocations: 180.2 kB / 0.5754 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.402e-05/0.6004, allocations: 188.3 kB / 0.5756 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.6029, allocations: 1.478 MB / 0.577 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-05/0.6029, allocations: 108.9 kB / 0.5771 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/0.603, allocations: 108.9 kB / 0.5772 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.889e-05/0.6031, allocations: 180.3 kB / 0.5774 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.6032, allocations: 184.2 kB / 0.5776 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.455e-05/0.6033, allocations: 180.3 kB / 0.5778 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001026/0.6034, allocations: 188.1 kB / 0.5779 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.6038, allocations: 425.4 kB / 0.5783 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.6042, allocations: 296.4 kB / 0.5786 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.6045, allocations: 180.3 kB / 0.5788 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.6049, allocations: 108.9 kB / 0.5789 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.605, allocations: 180.2 kB / 0.5791 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.6051, allocations: 109 kB / 0.5792 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.607, allocations: 1.018 MB / 0.5802 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.607, allocations: 0 / 0.5802 GB, free: 10.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002756/0.6097, allocations: 434.1 kB / 0.5806 GB, free: 9.988 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.0002338/0.61, allocations: 170.5 kB / 0.5807 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.612, allocations: 0.9077 MB / 0.5816 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.612, allocations: 0 / 0.5816 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/0.612, allocations: 0 / 0.5816 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6132, allocations: 0.5741 MB / 0.5822 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.6185, allocations: 2.76 MB / 0.5849 GB, free: 5.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.6199, allocations: 1.575 MB / 0.5864 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.621, allocations: 491.4 kB / 0.5869 GB, free: 3.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6212, allocations: 75.44 kB / 0.587 GB, free: 3.379 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6212, allocations: 0 / 0.587 GB, free: 3.379 MB / 446.1 MB Notification: Performance of Templates: time 0.01951/0.6407, allocations: 8.798 MB / 0.5956 GB, free: 10.63 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