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.001658/0.001658, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002023/0.002023, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2387/0.2387, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.002141/0.002141, allocations: 67.89 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01097/0.3824, allocations: 7.659 MB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.3875, allocations: 2.192 MB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.3884, allocations: 43.88 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.3916, allocations: 1.491 MB / 0.5722 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.3928, allocations: 493.3 kB / 0.5727 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.393, allocations: 71.83 kB / 0.5727 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3942, allocations: 0.9216 MB / 0.5736 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.3958, allocations: 1.216 MB / 0.5748 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008384/0.3966, allocations: 0.5411 MB / 0.5754 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.3978, allocations: 0.7161 MB / 0.5761 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.3981, allocations: 120 kB / 0.5762 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.3984, allocations: 123.9 kB / 0.5763 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007473/0.3991, allocations: 0.7478 MB / 0.577 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007131/0.3998, allocations: 0.6366 MB / 0.5776 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.4029, allocations: 2.356 MB / 0.58 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4029, allocations: 0 / 0.58 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4029, allocations: 0 / 0.58 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.203e-05/0.4029, allocations: 0 / 0.58 GB, free: 0.7422 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.003139/0.4061, allocations: 1.924 MB / 0.5818 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4061, allocations: 12.03 kB / 0.5818 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006187/0.4067, allocations: 219.4 kB / 0.582 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.4081, allocations: 0.6703 MB / 0.5827 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.4082, allocations: 115.4 kB / 0.5828 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.4084, allocations: 152.1 kB / 0.583 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/0.4128, allocations: 3.387 MB / 0.5863 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.4129, allocations: 11.88 kB / 0.5863 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.413, allocations: 75.89 kB / 0.5864 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008319/0.4138, allocations: 0.6149 MB / 0.587 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.4172, allocations: 1.865 MB / 0.5888 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.4313, allocations: 12.41 MB / 0.6009 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.4314, allocations: 169.1 kB / 0.6011 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.4316, allocations: 80.14 kB / 0.6011 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.4316, allocations: 83.28 kB / 0.6012 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.4317, allocations: 109.8 kB / 0.6013 GB, free: 10.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.4317, allocations: 0 / 0.6013 GB, free: 10.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002385/0.4319, allocations: 133 kB / 0.6014 GB, free: 9.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.432, allocations: 126.7 kB / 0.6016 GB, free: 9.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.434, allocations: 1.442 MB / 0.603 GB, free: 8.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.434, allocations: 25.7 kB / 0.603 GB, free: 8.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.4351, allocations: 1.447 MB / 0.6044 GB, free: 6.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.4352, allocations: 43.95 kB / 0.6045 GB, free: 6.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005223/0.4357, allocations: 427.2 kB / 0.6049 GB, free: 6.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4359, allocations: 337.9 kB / 0.6052 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.4366, allocations: 371.8 kB / 0.6055 GB, free: 5.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.4392, allocations: 1.929 MB / 0.6074 GB, free: 2.871 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.4421, allocations: 2.511 MB / 0.6099 GB, free: 15.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.4421, allocations: 20 kB / 0.6099 GB, free: 15.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003771/0.4459, allocations: 2.088 MB / 0.6119 GB, free: 13.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.4459, allocations: 34.44 kB / 0.612 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/0.446, allocations: 63.98 kB / 0.612 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.037e-05/0.4461, allocations: 72 kB / 0.6121 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4473, allocations: 487 kB / 0.6126 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.291e-05/0.4474, allocations: 115.6 kB / 0.6127 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4488, allocations: 305.7 kB / 0.613 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.4489, allocations: 140.4 kB / 0.6131 GB, free: 12.25 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.001318/0.4502, allocations: 0.8589 MB / 0.6139 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.4505, allocations: 220.1 kB / 0.6141 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.4507, allocations: 202.1 kB / 0.6143 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.631e-05/0.4508, allocations: 184.3 kB / 0.6145 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.055e-05/0.4509, allocations: 184.3 kB / 0.6147 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001718/0.4511, allocations: 184.2 kB / 0.6149 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.4524, allocations: 0.9811 MB / 0.6158 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/0.4524, allocations: 105 kB / 0.6159 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.4525, allocations: 108.9 kB / 0.616 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.4526, allocations: 184.3 kB / 0.6162 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.4527, allocations: 180.2 kB / 0.6164 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-05/0.4528, allocations: 180.2 kB / 0.6165 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.608e-05/0.4529, allocations: 180.3 kB / 0.6167 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.4532, allocations: 416.8 kB / 0.6171 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.4534, allocations: 188.2 kB / 0.6173 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.4536, allocations: 188.2 kB / 0.6175 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.4539, allocations: 109 kB / 0.6176 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.454, allocations: 180.2 kB / 0.6177 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.454, allocations: 105 kB / 0.6178 GB, free: 7.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.4553, allocations: 0.7968 MB / 0.6186 GB, free: 6.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4553, allocations: 0 / 0.6186 GB, free: 6.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001912/0.4572, allocations: 458.3 kB / 0.6191 GB, free: 5.934 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.0002002/0.4574, allocations: 174.5 kB / 0.6192 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.4587, allocations: 0.8725 MB / 0.6201 GB, free: 4.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4587, allocations: 3.938 kB / 0.6201 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.4587, allocations: 0 / 0.6201 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.4595, allocations: 0.5278 MB / 0.6206 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.4645, allocations: 2.8 MB / 0.6233 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.4658, allocations: 0.9996 MB / 0.6243 GB, free: 488 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4668, allocations: 457.7 kB / 0.6247 GB, free: 28 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4669, allocations: 63.48 kB / 0.6248 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4669, allocations: 0 / 0.6248 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Templates: time 0.01931/0.4863, allocations: 8.441 MB / 0.633 GB, free: 7.656 MB / 478.1 MB " [Timeout remaining time 660] 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.466991602443159]