Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.0009834/0.0009834, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009113/0.0009113, allocations: 169.2 kB / 24.91 MB, free: 8.656 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2783/0.2783, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.995e-05, allocations: 3.297 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.00903/0.00906, allocations: 9.696 MB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006172/0.01523, allocations: 3.145 MB / 336.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.01667, allocations: 79.62 kB / 336.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.0197, allocations: 2.873 MB / 339 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.02196, allocations: 1.151 MB / 340.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.02249, allocations: 307.3 kB / 340.5 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.0247, allocations: 1.553 MB / 342 MB, free: 6.863 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.02633, allocations: 2.001 MB / 344 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.0293, allocations: 3.313 MB / 347.3 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.03072, allocations: 0.9698 MB / 348.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.03102, allocations: 188 kB / 348.5 MB, free: 344 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.03154, allocations: 295.6 kB / 348.8 MB, free: 48 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.03317, allocations: 3.116 MB / 351.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.03483, allocations: 1.466 MB / 353.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.04012, allocations: 6.524 MB / 359.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.04012, allocations: 0 / 359.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.04012, allocations: 0 / 359.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002565/0.04038, allocations: 0 / 359.9 MB, free: 4.898 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.0089/0.04928, allocations: 9.008 MB / 368.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.04932, allocations: 8.031 kB / 368.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.05008, allocations: 0.5618 MB / 369.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/0.05621, allocations: 5.153 MB / 374.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.05628, allocations: 127.4 kB / 374.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.05644, allocations: 163.9 kB / 374.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.05979, allocations: 2.773 MB / 377.7 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.05982, allocations: 11.88 kB / 377.7 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.05991, allocations: 75.94 kB / 377.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009966/0.06091, allocations: 1.561 MB / 379.3 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.06266, allocations: 1.332 MB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.07965, allocations: 15.58 MB / 396.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.08055, allocations: 357.9 kB / 396.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.0806, allocations: 28.84 kB / 396.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004066/0.08467, allocations: 2.107 MB / 398.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.08471, allocations: 109.8 kB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.425e-06/0.08471, allocations: 4 kB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0007491/0.08546, allocations: 437.2 kB / 399.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.08552, allocations: 130.7 kB / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007224/0.09274, allocations: 7.073 MB / 406.4 MB, free: 5.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.09275, allocations: 29.7 kB / 406.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.09478, allocations: 3.888 MB / 410.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.09486, allocations: 91.91 kB / 410.5 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.09538, allocations: 0.7983 MB / 411.3 MB, free: 0.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.09546, allocations: 305.1 kB / 411.5 MB, free: 460 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.09569, allocations: 276.2 kB / 411.8 MB, free: 176 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.0976, allocations: 3.538 MB / 415.4 MB, free: 10.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.1008, allocations: 4.48 MB / 419.8 MB, free: 4.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.951e-05/0.1009, allocations: 32 kB / 419.9 MB, free: 4.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004746/0.1057, allocations: 3.309 MB / 423.2 MB, free: 1.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.1057, allocations: 56.19 kB / 423.2 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/0.1058, allocations: 120 kB / 423.3 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.106, allocations: 152 kB / 423.5 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.1082, allocations: 0.9863 MB / 424.5 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001466/0.1083, allocations: 231.1 kB / 424.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.1111, allocations: 0.6088 MB / 425.3 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.1113, allocations: 256 kB / 425.6 MB, free: 15.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 537 * 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.001683/0.113, allocations: 0.5662 MB / 426.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007623/0.1138, allocations: 0.512 MB / 426.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.1147, allocations: 0.7722 MB / 427.4 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/0.1147, allocations: 180.2 kB / 427.6 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.316e-05/0.1148, allocations: 180.3 kB / 427.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/0.1148, allocations: 180.3 kB / 427.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.1175, allocations: 2.269 MB / 430.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/0.1175, allocations: 101 kB / 430.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.1176, allocations: 104.9 kB / 430.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.556e-05/0.1176, allocations: 180.3 kB / 430.6 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.1176, allocations: 180.2 kB / 430.8 MB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.824e-05/0.1177, allocations: 188.2 kB / 431 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.372e-05/0.1177, allocations: 180.3 kB / 431.1 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.1185, allocations: 0.7471 MB / 431.9 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.1194, allocations: 0.8154 MB / 432.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.1198, allocations: 196.1 kB / 432.9 MB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.1204, allocations: 101 kB / 433 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.1205, allocations: 184.2 kB / 433.2 MB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1205, allocations: 109 kB / 433.3 MB, free: 7.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003642/0.1242, allocations: 3.57 MB / 436.8 MB, free: 3.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1242, allocations: 0 / 436.8 MB, free: 3.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00351/0.1277, allocations: 1.149 MB / 438 MB, free: 2.508 MB / 410.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.0001565/0.1278, allocations: 147.7 kB / 438.1 MB, free: 2.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.1299, allocations: 1.447 MB / 439.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000189/0.1301, allocations: 160.2 kB / 439.7 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.1301, allocations: 0 / 439.7 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0083/0.1384, allocations: 3.425 MB / 443.2 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/0.3929, allocations: 13.67 MB / 456.8 MB, free: 121 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/0.3956, allocations: 2.148 MB / 459 MB, free: 120.7 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002715/0.3983, allocations: 1.057 MB / 460 MB, free: 120.6 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003145/0.4015, allocations: 1.744 MB / 461.8 MB, free: 120.5 MB / 426.8 MB Notification: Performance of SimCode: time 2.384e-06/0.4015, allocations: 0 / 461.8 MB, free: 120.5 MB / 426.8 MB Notification: Performance of Templates: time 0.1276/0.5291, allocations: 90.87 MB / 0.5397 GB, free: 38.27 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.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: 4.888985100202262]