Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 46.92 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 63.89 kB / 0.4967 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4038, allocations: 66.03 MB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01361/0.4174, allocations: 8.748 MB / 0.5697 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00698/0.4244, allocations: 2.313 MB / 0.572 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.4261, allocations: 47.88 kB / 0.572 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.4298, allocations: 1.565 MB / 0.5735 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.4315, allocations: 489.3 kB / 0.574 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4318, allocations: 75.84 kB / 0.5741 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.4331, allocations: 0.9254 MB / 0.575 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.4347, allocations: 1.204 MB / 0.5761 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.4355, allocations: 0.5489 MB / 0.5767 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.4365, allocations: 0.72 MB / 0.5774 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.4367, allocations: 116 kB / 0.5775 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.437, allocations: 127.9 kB / 0.5776 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.4377, allocations: 0.7555 MB / 0.5784 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.4385, allocations: 0.8502 MB / 0.5792 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.4413, allocations: 2.329 MB / 0.5815 GB, free: 15.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4413, allocations: 0 / 0.5815 GB, free: 15.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4413, allocations: 0 / 0.5815 GB, free: 15.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.846e-05/0.4414, allocations: 0 / 0.5815 GB, free: 15.46 MB / 430.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.003389/0.4448, allocations: 1.92 MB / 0.5833 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4449, allocations: 20.02 kB / 0.5834 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.4454, allocations: 219.4 kB / 0.5836 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4466, allocations: 0.6625 MB / 0.5842 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.705e-05/0.4467, allocations: 119.4 kB / 0.5843 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.4469, allocations: 152.1 kB / 0.5845 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/0.4516, allocations: 3.375 MB / 0.5878 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.4517, allocations: 15.81 kB / 0.5878 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.4518, allocations: 75.94 kB / 0.5879 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008904/0.4527, allocations: 0.6149 MB / 0.5885 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.4558, allocations: 1.862 MB / 0.5903 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.4696, allocations: 13.44 MB / 0.6034 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4697, allocations: 173.1 kB / 0.6036 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.4697, allocations: 80.14 kB / 0.6036 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.4698, allocations: 83.16 kB / 0.6037 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/0.4698, allocations: 109.8 kB / 0.6038 GB, free: 7.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.4698, allocations: 0 / 0.6038 GB, free: 7.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002678/0.4701, allocations: 152.8 kB / 0.604 GB, free: 7.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.4702, allocations: 134.7 kB / 0.6041 GB, free: 7.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.4725, allocations: 1.651 MB / 0.6057 GB, free: 5.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4725, allocations: 25.7 kB / 0.6057 GB, free: 5.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.4736, allocations: 1.419 MB / 0.6071 GB, free: 4.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.4737, allocations: 43.95 kB / 0.6072 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.4742, allocations: 431.1 kB / 0.6076 GB, free: 3.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4744, allocations: 349.9 kB / 0.6079 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.4749, allocations: 379.8 kB / 0.6083 GB, free: 3.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.4769, allocations: 1.933 MB / 0.6101 GB, free: 340 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/0.4799, allocations: 2.5 MB / 0.6126 GB, free: 13.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/0.4799, allocations: 31.88 kB / 0.6126 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003616/0.4835, allocations: 2.115 MB / 0.6147 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.4836, allocations: 31.98 kB / 0.6147 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-05/0.4836, allocations: 60 kB / 0.6148 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.259e-05/0.4837, allocations: 72 kB / 0.6148 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.485, allocations: 487 kB / 0.6153 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.4851, allocations: 111.6 kB / 0.6154 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.4865, allocations: 325.5 kB / 0.6157 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.4867, allocations: 136.4 kB / 0.6159 GB, free: 9.676 MB / 462.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.00132/0.488, allocations: 0.8744 MB / 0.6167 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.4882, allocations: 232 kB / 0.6169 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.4885, allocations: 236.2 kB / 0.6172 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/0.4886, allocations: 184.3 kB / 0.6173 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-05/0.4887, allocations: 180.3 kB / 0.6175 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.333e-05/0.4887, allocations: 176.3 kB / 0.6177 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.4906, allocations: 1.449 MB / 0.6191 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.055e-05/0.4907, allocations: 112.9 kB / 0.6192 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.4907, allocations: 108.9 kB / 0.6193 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.644e-05/0.4908, allocations: 180.3 kB / 0.6195 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.051e-05/0.4909, allocations: 176.3 kB / 0.6196 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001058/0.491, allocations: 192.1 kB / 0.6198 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-05/0.4911, allocations: 176.3 kB / 0.62 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.4915, allocations: 434 kB / 0.6204 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.4918, allocations: 228 kB / 0.6206 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.492, allocations: 184.2 kB / 0.6208 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.4923, allocations: 105 kB / 0.6209 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4924, allocations: 180.2 kB / 0.6211 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.4925, allocations: 109 kB / 0.6212 GB, free: 4.016 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.494, allocations: 1.014 MB / 0.6222 GB, free: 3.004 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.494, allocations: 0 / 0.6222 GB, free: 3.004 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001962/0.496, allocations: 434.7 kB / 0.6226 GB, free: 2.578 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.000278/0.4962, allocations: 166.5 kB / 0.6227 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.4977, allocations: 0.8802 MB / 0.6236 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4977, allocations: 0 / 0.6236 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.4977, allocations: 0 / 0.6236 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.4986, allocations: 0.5714 MB / 0.6242 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.5034, allocations: 2.811 MB / 0.6269 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.5051, allocations: 1.583 MB / 0.6284 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001224/0.5064, allocations: 499.2 kB / 0.6289 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5065, allocations: 75.44 kB / 0.629 GB, free: 11.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5065, allocations: 0 / 0.629 GB, free: 11.93 MB / 478.1 MB Notification: Performance of Templates: time 0.0254/0.5319, allocations: 10.05 MB / 0.6388 GB, free: 1.922 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.80631560110487]