Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001912/0.001912, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001864/0.001864, allocations: 207.3 kB / 23.73 MB, free: 4.379 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.624/1.624, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.3016/0.3016, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.89 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 66.04 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01225/0.3558, allocations: 9.063 MB / 0.5699 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007351/0.3631, allocations: 2.942 MB / 0.5728 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.3649, allocations: 75.62 kB / 0.5729 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.3708, allocations: 2.601 MB / 0.5754 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.374, allocations: 1.132 MB / 0.5765 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.3749, allocations: 271.5 kB / 0.5768 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.3776, allocations: 1.513 MB / 0.5783 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.3805, allocations: 1.921 MB / 0.5801 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.3822, allocations: 0.9342 MB / 0.581 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005561/0.3878, allocations: 3.435 MB / 0.5844 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.3885, allocations: 188 kB / 0.5846 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.3896, allocations: 271.8 kB / 0.5848 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003394/0.393, allocations: 3.009 MB / 0.5878 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00368/0.3967, allocations: 2.254 MB / 0.59 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.4097, allocations: 9.944 MB / 0.5997 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4097, allocations: 0 / 0.5997 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.4097, allocations: 4 kB / 0.5997 GB, free: 12.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003258/0.4101, allocations: 3.938 kB / 0.5997 GB, free: 12.45 MB / 446.1 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.01709/0.4271, allocations: 9.043 MB / 0.6085 GB, free: 3.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4272, allocations: 12.03 kB / 0.6085 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.4286, allocations: 1.024 MB / 0.6095 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007046/0.4357, allocations: 3.739 MB / 0.6132 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4358, allocations: 123.4 kB / 0.6133 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.4361, allocations: 175.7 kB / 0.6135 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009068/0.4451, allocations: 6.604 MB / 0.6199 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/0.4452, allocations: 15.88 kB / 0.6199 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.4454, allocations: 79.94 kB / 0.62 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001795/0.4471, allocations: 1.561 MB / 0.6215 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007914/0.4551, allocations: 4.129 MB / 0.6256 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03509/0.4902, allocations: 18 MB / 0.6431 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4919, allocations: 342.1 kB / 0.6435 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4921, allocations: 52.83 kB / 0.6435 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006/0.4981, allocations: 1.823 MB / 0.6453 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.568e-05/0.4981, allocations: 113.8 kB / 0.6454 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.4981, allocations: 0 / 0.6454 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.00166/0.4998, allocations: 0.8747 MB / 0.6463 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.4999, allocations: 126.7 kB / 0.6464 GB, free: 11.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02124/0.5211, allocations: 10.68 MB / 0.6568 GB, free: 1.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5211, allocations: 25.7 kB / 0.6568 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006501/0.5276, allocations: 5.977 MB / 0.6627 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.5278, allocations: 91.91 kB / 0.6628 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.529, allocations: 0.8261 MB / 0.6636 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5291, allocations: 305.1 kB / 0.6639 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.5303, allocations: 0.7616 MB / 0.6646 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.5343, allocations: 4.007 MB / 0.6685 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/0.5405, allocations: 5.193 MB / 0.6736 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.5406, allocations: 35.94 kB / 0.6736 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009636/0.5502, allocations: 4.964 MB / 0.6785 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.5504, allocations: 52 kB / 0.6785 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/0.5505, allocations: 120 kB / 0.6786 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.5507, allocations: 152 kB / 0.6788 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.5534, allocations: 0.9863 MB / 0.6797 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002173/0.5537, allocations: 227.1 kB / 0.68 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.5579, allocations: 0.6131 MB / 0.6806 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/0.5583, allocations: 284 kB / 0.6808 GB, free: 5.316 MB / 0.5137 GB 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.005581/0.5639, allocations: 3.405 MB / 0.6842 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/0.5653, allocations: 0.9523 MB / 0.6851 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.5671, allocations: 1.022 MB / 0.6861 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/0.5671, allocations: 176.3 kB / 0.6863 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.747e-05/0.5672, allocations: 196.2 kB / 0.6864 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/0.5673, allocations: 176.3 kB / 0.6866 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.5731, allocations: 3.79 MB / 0.6903 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.044e-05/0.5731, allocations: 104.9 kB / 0.6904 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.5732, allocations: 101 kB / 0.6905 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.5733, allocations: 180.2 kB / 0.6907 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/0.5734, allocations: 180.3 kB / 0.6908 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.384e-05/0.5735, allocations: 176.3 kB / 0.691 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-05/0.5735, allocations: 188.2 kB / 0.6912 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.5748, allocations: 1.199 MB / 0.6924 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.5765, allocations: 0.8661 MB / 0.6932 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005392/0.577, allocations: 180.2 kB / 0.6934 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008791/0.5779, allocations: 105 kB / 0.6935 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.578, allocations: 176.3 kB / 0.6937 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.578, allocations: 108.9 kB / 0.6938 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01228/0.5903, allocations: 7.097 MB / 0.7007 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5903, allocations: 0 / 0.7007 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004766/0.5951, allocations: 1.145 MB / 0.7018 GB, free: 15.67 MB / 0.545 GB 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.0001772/0.5953, allocations: 174.5 kB / 0.702 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00342/0.5987, allocations: 1.804 MB / 0.7037 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5987, allocations: 4 kB / 0.7037 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.5987, allocations: 0.8125 kB / 0.7037 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01287/0.6116, allocations: 3.434 MB / 0.7071 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/0.6441, allocations: 15.9 MB / 0.7226 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007597/0.6516, allocations: 4.819 MB / 0.7273 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007293/0.6589, allocations: 2.101 MB / 0.7294 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009483/0.6599, allocations: 403.4 kB / 0.7298 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/0.6599, allocations: 0 / 0.7298 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of Templates: time 0.6537/1.314, allocations: 98.55 MB / 0.826 GB, free: 63.49 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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: 8.757175670005381]