Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 110.5 kB / 21.17 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 214.7 kB / 24.46 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 257.8 MB, free: 8.473 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2367/0.2367, allocations: 46.89 MB / 361.1 MB, free: 4.695 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 83.86 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3554, allocations: 65.99 MB / 0.5612 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01064/0.3661, allocations: 8.748 MB / 0.5698 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.3717, allocations: 2.309 MB / 0.572 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.3726, allocations: 43.94 kB / 0.5721 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.3758, allocations: 1.561 MB / 0.5736 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.3771, allocations: 497.3 kB / 0.5741 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.3774, allocations: 71.83 kB / 0.5741 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.3788, allocations: 0.9215 MB / 0.575 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.3802, allocations: 1.103 MB / 0.5761 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007189/0.3809, allocations: 0.5372 MB / 0.5766 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000983/0.3819, allocations: 0.7161 MB / 0.5773 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.3821, allocations: 120 kB / 0.5774 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.3824, allocations: 123.9 kB / 0.5776 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.3831, allocations: 0.7439 MB / 0.5783 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.3839, allocations: 0.8542 MB / 0.5791 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.3866, allocations: 2.329 MB / 0.5814 GB, free: 212 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.3866, allocations: 7.922 kB / 0.5814 GB, free: 204 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3866, allocations: 4 kB / 0.5814 GB, free: 200 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.402e-05/0.3867, allocations: 0 / 0.5814 GB, free: 200 kB / 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.002835/0.3895, allocations: 1.988 MB / 0.5833 GB, free: 14.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.3895, allocations: 8.031 kB / 0.5834 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/0.3902, allocations: 223.4 kB / 0.5836 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3914, allocations: 0.7268 MB / 0.5843 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3915, allocations: 127.3 kB / 0.5844 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.3917, allocations: 152.1 kB / 0.5845 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.3961, allocations: 3.383 MB / 0.5878 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.3961, allocations: 15.88 kB / 0.5879 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.3963, allocations: 71.94 kB / 0.5879 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007903/0.3971, allocations: 0.6149 MB / 0.5885 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.4002, allocations: 1.862 MB / 0.5903 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.4152, allocations: 13.51 MB / 0.6035 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4153, allocations: 173.1 kB / 0.6037 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.4154, allocations: 80.14 kB / 0.6038 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.4154, allocations: 87.2 kB / 0.6039 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/0.4155, allocations: 109.8 kB / 0.604 GB, free: 8.195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.4155, allocations: 0 / 0.604 GB, free: 8.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003495/0.4158, allocations: 152.9 kB / 0.6041 GB, free: 8.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.4159, allocations: 130.7 kB / 0.6042 GB, free: 7.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.4181, allocations: 1.655 MB / 0.6059 GB, free: 6.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4181, allocations: 25.7 kB / 0.6059 GB, free: 6.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.4193, allocations: 1.416 MB / 0.6073 GB, free: 4.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.4193, allocations: 43.95 kB / 0.6073 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.4198, allocations: 431.1 kB / 0.6077 GB, free: 4.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.42, allocations: 353.9 kB / 0.6081 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.4206, allocations: 367.8 kB / 0.6084 GB, free: 3.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.4226, allocations: 1.929 MB / 0.6103 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.4254, allocations: 2.515 MB / 0.6127 GB, free: 13.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.4254, allocations: 16 kB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003487/0.4289, allocations: 2.116 MB / 0.6148 GB, free: 11.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.4289, allocations: 28 kB / 0.6149 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.935e-05/0.429, allocations: 68.09 kB / 0.6149 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.231e-05/0.4291, allocations: 72 kB / 0.615 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4303, allocations: 487.1 kB / 0.6155 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.841e-05/0.4304, allocations: 119.5 kB / 0.6156 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4318, allocations: 329.5 kB / 0.6159 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.4319, allocations: 140 kB / 0.616 GB, free: 10.16 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.001119/0.433, allocations: 0.8666 MB / 0.6169 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.4332, allocations: 228.1 kB / 0.6171 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.4335, allocations: 232.2 kB / 0.6173 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-05/0.4335, allocations: 180.3 kB / 0.6175 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/0.4336, allocations: 180.3 kB / 0.6176 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.863e-05/0.4337, allocations: 184.2 kB / 0.6178 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.4355, allocations: 1.477 MB / 0.6193 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-05/0.4355, allocations: 108.9 kB / 0.6194 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.4356, allocations: 104.9 kB / 0.6195 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/0.4357, allocations: 188.2 kB / 0.6196 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.4358, allocations: 184.2 kB / 0.6198 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.928e-05/0.4358, allocations: 180.3 kB / 0.62 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-05/0.4359, allocations: 176.3 kB / 0.6202 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4362, allocations: 434 kB / 0.6206 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.4366, allocations: 305.1 kB / 0.6209 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.4368, allocations: 180.3 kB / 0.621 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.4371, allocations: 105 kB / 0.6211 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.4371, allocations: 184.2 kB / 0.6213 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.4372, allocations: 105 kB / 0.6214 GB, free: 4.395 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.4386, allocations: 1.01 MB / 0.6224 GB, free: 3.387 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4386, allocations: 0 / 0.6224 GB, free: 3.387 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001668/0.4402, allocations: 438.6 kB / 0.6228 GB, free: 2.957 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.0001844/0.4404, allocations: 174.5 kB / 0.623 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.4418, allocations: 0.8721 MB / 0.6238 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4418, allocations: 0 / 0.6238 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.4418, allocations: 0 / 0.6238 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/0.4428, allocations: 0.5872 MB / 0.6244 GB, free: 1.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.4476, allocations: 2.814 MB / 0.6272 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.4494, allocations: 1.572 MB / 0.6287 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001252/0.4506, allocations: 0.4914 MB / 0.6292 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4507, allocations: 71.44 kB / 0.6292 GB, free: 12.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4507, allocations: 4 kB / 0.6292 GB, free: 12.29 MB / 478.1 MB Notification: Performance of Templates: time 0.02305/0.4738, allocations: 9.339 MB / 0.6384 GB, free: 2.992 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.318581441882998]