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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 186.5 kB / 22.97 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.91 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.88 kB / 495.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3787, allocations: 64.26 MB / 0.5464 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01056/0.3893, allocations: 8.781 MB / 0.555 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.3951, allocations: 2.274 MB / 0.5572 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.3971, allocations: 40.78 kB / 0.5572 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.4015, allocations: 1.552 MB / 0.5588 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.4034, allocations: 0.4934 MB / 0.5592 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.4038, allocations: 75.84 kB / 0.5593 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.4055, allocations: 0.9371 MB / 0.5602 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.4074, allocations: 1.103 MB / 0.5613 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.4084, allocations: 0.5449 MB / 0.5618 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.4098, allocations: 0.7161 MB / 0.5625 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.4101, allocations: 119.9 kB / 0.5627 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.4105, allocations: 128 kB / 0.5628 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009755/0.4115, allocations: 0.7556 MB / 0.5635 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.4127, allocations: 0.858 MB / 0.5643 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.4162, allocations: 2.348 MB / 0.5666 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.4162, allocations: 0 / 0.5666 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4162, allocations: 0 / 0.5666 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-05/0.4163, allocations: 3.938 kB / 0.5666 GB, free: 10.97 MB / 414.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.004222/0.4205, allocations: 2.007 MB / 0.5686 GB, free: 8.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4205, allocations: 15.97 kB / 0.5686 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.4214, allocations: 227.4 kB / 0.5688 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.423, allocations: 0.719 MB / 0.5695 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.4232, allocations: 115.4 kB / 0.5696 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.4235, allocations: 156.1 kB / 0.5698 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007253/0.4307, allocations: 3.387 MB / 0.5731 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.4308, allocations: 11.88 kB / 0.5731 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.431, allocations: 75.94 kB / 0.5732 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/0.4321, allocations: 0.611 MB / 0.5738 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005203/0.4373, allocations: 1.865 MB / 0.5756 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.4568, allocations: 13.5 MB / 0.5888 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.457, allocations: 173.1 kB / 0.589 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.457, allocations: 80.14 kB / 0.589 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.4571, allocations: 79.22 kB / 0.5891 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.4571, allocations: 109.8 kB / 0.5892 GB, free: 2.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.986e-06/0.4571, allocations: 4 kB / 0.5892 GB, free: 2.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003751/0.4575, allocations: 160.8 kB / 0.5894 GB, free: 2.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.4576, allocations: 134.7 kB / 0.5895 GB, free: 2.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.4606, allocations: 1.659 MB / 0.5911 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.4606, allocations: 25.7 kB / 0.5911 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.4621, allocations: 1.42 MB / 0.5925 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.4622, allocations: 43.95 kB / 0.5926 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006972/0.4629, allocations: 423.2 kB / 0.593 GB, free: 15.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.4631, allocations: 357.9 kB / 0.5933 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.4639, allocations: 371.8 kB / 0.5937 GB, free: 14.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.4664, allocations: 1.933 MB / 0.5956 GB, free: 11.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.4697, allocations: 2.507 MB / 0.598 GB, free: 8.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-05/0.4698, allocations: 20 kB / 0.598 GB, free: 8.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003619/0.4734, allocations: 2.127 MB / 0.6001 GB, free: 6.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.4734, allocations: 28 kB / 0.6001 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-05/0.4735, allocations: 60 kB / 0.6002 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.353e-05/0.4736, allocations: 72 kB / 0.6003 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4747, allocations: 495 kB / 0.6007 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.903e-05/0.4748, allocations: 107.6 kB / 0.6008 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.4764, allocations: 325.5 kB / 0.6011 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.4766, allocations: 140.3 kB / 0.6013 GB, free: 4.922 MB / 446.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.001263/0.4779, allocations: 0.8714 MB / 0.6021 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.4781, allocations: 236 kB / 0.6024 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.4783, allocations: 228.5 kB / 0.6026 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.143e-05/0.4784, allocations: 180.3 kB / 0.6027 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.299e-05/0.4785, allocations: 180.2 kB / 0.6029 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.153e-05/0.4785, allocations: 188.3 kB / 0.6031 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.4804, allocations: 1.477 MB / 0.6045 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.305e-05/0.4805, allocations: 108.9 kB / 0.6046 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.4806, allocations: 105 kB / 0.6047 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-05/0.4806, allocations: 180.3 kB / 0.6049 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.4807, allocations: 180.2 kB / 0.6051 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.707e-05/0.4808, allocations: 180.3 kB / 0.6053 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.253e-05/0.4809, allocations: 184.2 kB / 0.6054 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.4812, allocations: 438.1 kB / 0.6059 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.4816, allocations: 305.1 kB / 0.6061 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.4817, allocations: 180.3 kB / 0.6063 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.482, allocations: 108.9 kB / 0.6064 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.4821, allocations: 176.3 kB / 0.6066 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.4822, allocations: 109 kB / 0.6067 GB, free: 15.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.4835, allocations: 1.022 MB / 0.6077 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4835, allocations: 4 kB / 0.6077 GB, free: 14.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001848/0.4853, allocations: 430.7 kB / 0.6081 GB, free: 13.7 MB / 462.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.0001953/0.4855, allocations: 166.5 kB / 0.6083 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.487, allocations: 0.8726 MB / 0.6091 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.487, allocations: 4.062 kB / 0.6091 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.487, allocations: 0 / 0.6091 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/0.4879, allocations: 0.575 MB / 0.6097 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.4925, allocations: 2.834 MB / 0.6124 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.4939, allocations: 1.575 MB / 0.614 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001075/0.495, allocations: 495.3 kB / 0.6145 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4951, allocations: 75.44 kB / 0.6145 GB, free: 7.031 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4951, allocations: 0 / 0.6145 GB, free: 7.031 MB / 462.1 MB Notification: Performance of Templates: time 0.0211/0.5162, allocations: 9.383 MB / 0.6237 GB, free: 13.7 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.673887999728322]