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.001344/0.001344, allocations: 85.09 kB / 20.68 MB, free: 1.023 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.001445/0.001445, allocations: 168.3 kB / 23.96 MB, free: 4.145 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.514/1.514, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.2179/0.2179, allocations: 34.29 MB / 295 MB, free: 14.58 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 1.934e-06/1.934e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.747e-05/3.94e-05, allocations: 2.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2101/0.2102, allocations: 7.664 MB / 450.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.2148, allocations: 2.197 MB / 452.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.2157, allocations: 45 kB / 452.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.2188, allocations: 1.566 MB / 454.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.2202, allocations: 0.5071 MB / 454.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.2206, allocations: 70.78 kB / 454.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2218, allocations: 0.9558 MB / 455.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.2233, allocations: 1.206 MB / 456.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.2243, allocations: 0.8037 MB / 457.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.2252, allocations: 0.6152 MB / 458.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.2254, allocations: 118.9 kB / 458.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.2257, allocations: 147.7 kB / 458.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006507/0.2264, allocations: 0.7738 MB / 459.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.2269, allocations: 499.3 kB / 459.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.2297, allocations: 2.249 MB / 462.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2297, allocations: 0.6875 kB / 462.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2297, allocations: 0.7031 kB / 462.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.919e-05/0.2298, allocations: 0 / 462.1 MB, free: 10.42 MB / 366.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.002972/0.2327, allocations: 1.904 MB / 464 MB, free: 9.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2328, allocations: 9.469 kB / 464 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.2334, allocations: 223.3 kB / 464.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2344, allocations: 0.6715 MB / 464.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.2345, allocations: 116.2 kB / 465 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.2347, allocations: 149.7 kB / 465.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.2388, allocations: 3.377 MB / 468.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.2388, allocations: 15.31 kB / 468.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.239, allocations: 81.19 kB / 468.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006733/0.2396, allocations: 0.6149 MB / 469.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.2425, allocations: 1.855 MB / 471.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009968/0.2525, allocations: 12.36 MB / 483.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2526, allocations: 170.9 kB / 483.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.2526, allocations: 85.52 kB / 483.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/0.2527, allocations: 80.86 kB / 483.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.2527, allocations: 107.2 kB / 483.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.2527, allocations: 5.406 kB / 483.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002526/0.253, allocations: 138.8 kB / 484 MB, free: 10.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.2531, allocations: 132 kB / 484.1 MB, free: 10 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.2548, allocations: 1.438 MB / 485.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2549, allocations: 33.62 kB / 485.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.2559, allocations: 1.431 MB / 487 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.2559, allocations: 46.2 kB / 487.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004461/0.2564, allocations: 419.3 kB / 487.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2565, allocations: 333.1 kB / 487.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/0.2571, allocations: 379 kB / 488.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.259, allocations: 1.927 MB / 490.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.2621, allocations: 2.512 MB / 492.6 MB, free: 1.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/0.2621, allocations: 16 kB / 492.6 MB, free: 1.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003739/0.2658, allocations: 2.092 MB / 494.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.2659, allocations: 36.98 kB / 494.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.767e-05/0.2659, allocations: 59.94 kB / 494.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-05/0.266, allocations: 76 kB / 494.9 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.2673, allocations: 494.9 kB / 495.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.2674, allocations: 107.6 kB / 495.5 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.269, allocations: 297.8 kB / 495.8 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.2692, allocations: 136 kB / 495.9 MB, free: 14.31 MB / 398.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.001523/0.2707, allocations: 0.8705 MB / 496.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.271, allocations: 208.2 kB / 497 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.2712, allocations: 206.3 kB / 497.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/0.2713, allocations: 184.2 kB / 497.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.802e-05/0.2714, allocations: 184.2 kB / 497.5 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/0.2715, allocations: 180.2 kB / 497.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.2731, allocations: 0.9733 MB / 498.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/0.2731, allocations: 101 kB / 498.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.2732, allocations: 108.9 kB / 498.9 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.2733, allocations: 184.2 kB / 499.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.2733, allocations: 184.2 kB / 499.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.947e-05/0.2734, allocations: 184.5 kB / 499.4 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.7e-05/0.2735, allocations: 180.3 kB / 499.6 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2738, allocations: 421.6 kB / 0.4883 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.274, allocations: 192.2 kB / 0.4885 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.2742, allocations: 176.3 kB / 0.4887 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.2745, allocations: 109 kB / 0.4888 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2746, allocations: 188.1 kB / 0.4889 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.2746, allocations: 101 kB / 0.489 GB, free: 9.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.2758, allocations: 0.7968 MB / 0.4898 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2758, allocations: 4 kB / 0.4898 GB, free: 8.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001986/0.2777, allocations: 458.3 kB / 0.4903 GB, free: 8 MB / 398.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.0001967/0.2779, allocations: 170.5 kB / 0.4904 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.2795, allocations: 0.8764 MB / 0.4913 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2795, allocations: 0 / 0.4913 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-06/0.2795, allocations: 4 kB / 0.4913 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.2804, allocations: 0.5413 MB / 0.4918 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.2861, allocations: 2.778 MB / 0.4945 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.2875, allocations: 0.9895 MB / 0.4955 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.2888, allocations: 461.7 kB / 0.4959 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.289, allocations: 64.5 kB / 0.496 GB, free: 2.062 MB / 398.1 MB Notification: Performance of SimCode: time 3.125e-06/0.289, allocations: 0 / 0.496 GB, free: 2.062 MB / 398.1 MB Notification: Performance of Templates: time 0.01764/0.3067, allocations: 6.019 MB / 0.5019 GB, free: 12.19 MB / 414.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.24713771790266]