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.0009178/0.0009178, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001001/0.001001, allocations: 171.3 kB / 24.91 MB, free: 8.785 MB / 18.57 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2649/0.2649, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 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 1.743e-06/1.743e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.857e-05, allocations: 3.188 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006534/0.006553, allocations: 8.269 MB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.009803, allocations: 2.324 MB / 335.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.0102, allocations: 47.88 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.01214, allocations: 1.616 MB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.01275, allocations: 0.5007 MB / 338 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.01292, allocations: 71.77 kB / 338.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000672/0.01359, allocations: 0.9569 MB / 339.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.01462, allocations: 1.264 MB / 340.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.01522, allocations: 0.8028 MB / 341.1 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.01583, allocations: 0.6115 MB / 341.7 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.01594, allocations: 119.9 kB / 341.9 MB, free: 6.949 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.01615, allocations: 139.9 kB / 342 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.01658, allocations: 0.7752 MB / 342.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.0169, allocations: 498.3 kB / 343.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.01817, allocations: 1.427 MB / 344.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01818, allocations: 0 / 344.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01818, allocations: 0 / 344.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.0182, allocations: 0 / 344.7 MB, free: 4.113 MB / 314.7 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.001516/0.01972, allocations: 1.849 MB / 346.5 MB, free: 2.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01975, allocations: 8.031 kB / 346.5 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.0201, allocations: 240.7 kB / 346.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.02061, allocations: 0.5525 MB / 347.3 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.02067, allocations: 123.3 kB / 347.4 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.02078, allocations: 148.3 kB / 347.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.0222, allocations: 1.871 MB / 349.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.02225, allocations: 19.75 kB / 349.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.02236, allocations: 75.94 kB / 349.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005077/0.02287, allocations: 0.6189 MB / 350.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.02357, allocations: 0.6731 MB / 350.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.02938, allocations: 11.45 MB / 362.3 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.02945, allocations: 173.1 kB / 362.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.02947, allocations: 84.14 kB / 362.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.02949, allocations: 75.28 kB / 362.6 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.02953, allocations: 109.8 kB / 362.7 MB, free: 1.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.02953, allocations: 0 / 362.7 MB, free: 1.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.02964, allocations: 81.58 kB / 362.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.02968, allocations: 130.7 kB / 362.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.03038, allocations: 1.158 MB / 364.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.03039, allocations: 25.7 kB / 364.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.03092, allocations: 1.4 MB / 365.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.03095, allocations: 43.95 kB / 365.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.03119, allocations: 411 kB / 366 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.03128, allocations: 333.9 kB / 366.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.03139, allocations: 132 kB / 366.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/0.03228, allocations: 1.714 MB / 368.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.03357, allocations: 2.182 MB / 370.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.03359, allocations: 16 kB / 370.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001268/0.03485, allocations: 1.467 MB / 371.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.03489, allocations: 30.19 kB / 371.8 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/0.03493, allocations: 59.98 kB / 371.9 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.353e-05/0.03498, allocations: 76.75 kB / 372 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.03566, allocations: 0.4912 MB / 372.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.399e-05/0.03572, allocations: 119.5 kB / 372.6 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000697/0.03642, allocations: 297.8 kB / 372.9 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.0365, allocations: 124 kB / 373 MB, free: 5.273 MB / 346.7 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 (fixed.color[1],fixed.color[2],fixed.color[3],box.color[1],box.color[2],box.color[3],sphere.color[1],sphere.color[2],sphere.color[3],cylinder.color[1],cylinder.color[2],cylinder.color[3],pipe.color[1],pipe.color[2],pipe.color[3],beam.color[1],beam.color[2],beam.color[3],gearwheel.color[1],gearwheel.color[2],gearwheel.color[3],spring.color[1],spring.color[2],spring.color[3],cone.color[1],cone.color[2],cone.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.0003514/0.03685, allocations: 386.6 kB / 373.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.03692, allocations: 164.8 kB / 373.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.03702, allocations: 186.3 kB / 373.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/0.03706, allocations: 180.3 kB / 373.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-05/0.03711, allocations: 188.2 kB / 374.1 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/0.03716, allocations: 188.2 kB / 374.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.03766, allocations: 0.6766 MB / 374.9 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.03768, allocations: 101 kB / 375 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.0377, allocations: 101 kB / 375.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.576e-05/0.03775, allocations: 188.2 kB / 375.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.03779, allocations: 184.2 kB / 375.5 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-05/0.03783, allocations: 184.2 kB / 375.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.094e-05/0.03787, allocations: 180.3 kB / 375.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.038, allocations: 365.4 kB / 376.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.0381, allocations: 184.5 kB / 376.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.03818, allocations: 188.2 kB / 376.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.03831, allocations: 105 kB / 376.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.03835, allocations: 180.2 kB / 376.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.03838, allocations: 109 kB / 376.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003099/0.03869, allocations: 439.3 kB / 377.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03869, allocations: 3.938 kB / 377.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008786/0.03957, allocations: 458.4 kB / 377.8 MB, free: 248 kB / 346.7 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.0001231/0.03969, allocations: 159.6 kB / 378 MB, free: 80 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.04022, allocations: 0.6985 MB / 378.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-05/0.04028, allocations: 43.81 kB / 378.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.04028, allocations: 3.938 kB / 378.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.04067, allocations: 0.5388 MB / 379.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.04301, allocations: 2.645 MB / 381.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.04332, allocations: 455.5 kB / 382.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.04361, allocations: 154.2 kB / 382.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.04375, allocations: 183.4 kB / 382.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04375, allocations: 0 / 382.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01168/0.05542, allocations: 6.488 MB / 389.2 MB, free: 4.891 MB / 362.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.080625536851585]