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.001755/0.001755, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002079/0.002079, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.655/1.655, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2585/0.2585, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.001961/0.001961, allocations: 67.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3575, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01357/0.3711, allocations: 9.071 MB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008581/0.3797, allocations: 2.943 MB / 0.5735 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.3822, allocations: 79.62 kB / 0.5736 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006012/0.3882, allocations: 2.593 MB / 0.5761 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.392, allocations: 1.14 MB / 0.5773 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.393, allocations: 263.5 kB / 0.5775 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.396, allocations: 1.513 MB / 0.579 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.3989, allocations: 1.924 MB / 0.5809 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.4008, allocations: 0.9304 MB / 0.5818 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005957/0.4068, allocations: 3.435 MB / 0.5851 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007517/0.4075, allocations: 188 kB / 0.5853 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009278/0.4085, allocations: 271.8 kB / 0.5856 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003843/0.4123, allocations: 3.005 MB / 0.5885 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00402/0.4163, allocations: 2.265 MB / 0.5907 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.43, allocations: 9.94 MB / 0.6004 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.43, allocations: 7.938 kB / 0.6004 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.43, allocations: 3.938 kB / 0.6004 GB, free: 12.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004468/0.4304, allocations: 4 kB / 0.6004 GB, free: 12.43 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.01957/0.45, allocations: 9.035 MB / 0.6093 GB, free: 3.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.45, allocations: 12.03 kB / 0.6093 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.4518, allocations: 1.024 MB / 0.6103 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008316/0.4601, allocations: 3.743 MB / 0.6139 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.4603, allocations: 127.3 kB / 0.6141 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.4606, allocations: 171.7 kB / 0.6142 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.4712, allocations: 6.608 MB / 0.6207 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/0.4712, allocations: 7.938 kB / 0.6207 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.4714, allocations: 79.94 kB / 0.6208 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/0.4733, allocations: 1.557 MB / 0.6223 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008723/0.4821, allocations: 4.133 MB / 0.6263 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/0.5159, allocations: 18.01 MB / 0.6439 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.5177, allocations: 336.3 kB / 0.6442 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.5178, allocations: 56.83 kB / 0.6443 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006216/0.524, allocations: 1.827 MB / 0.646 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.5241, allocations: 105.8 kB / 0.6462 GB, free: 12.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.5241, allocations: 96 / 0.6462 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001507/0.5256, allocations: 0.8747 MB / 0.647 GB, free: 12.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.5257, allocations: 126.7 kB / 0.6471 GB, free: 11.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0221/0.5478, allocations: 10.68 MB / 0.6576 GB, free: 1.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.5478, allocations: 25.7 kB / 0.6576 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007223/0.555, allocations: 5.981 MB / 0.6634 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.5552, allocations: 91.89 kB / 0.6635 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.5565, allocations: 0.8222 MB / 0.6643 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5566, allocations: 309 kB / 0.6646 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.5578, allocations: 0.7577 MB / 0.6653 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004293/0.5621, allocations: 4.003 MB / 0.6693 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/0.5693, allocations: 5.197 MB / 0.6743 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/0.5694, allocations: 32 kB / 0.6744 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01037/0.5798, allocations: 4.963 MB / 0.6792 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.5799, allocations: 56.94 kB / 0.6793 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.5801, allocations: 120 kB / 0.6794 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.5803, allocations: 156 kB / 0.6795 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.5833, allocations: 0.9824 MB / 0.6805 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002029/0.5835, allocations: 227.1 kB / 0.6807 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/0.5886, allocations: 0.6127 MB / 0.6813 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/0.5891, allocations: 284 kB / 0.6816 GB, free: 5.309 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.007152/0.5963, allocations: 3.409 MB / 0.6849 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/0.5983, allocations: 0.9561 MB / 0.6858 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.6009, allocations: 1.014 MB / 0.6868 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-05/0.601, allocations: 184.2 kB / 0.687 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.922e-05/0.6011, allocations: 184.3 kB / 0.6872 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.604e-05/0.6012, allocations: 180.2 kB / 0.6873 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008634/0.6098, allocations: 3.79 MB / 0.691 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/0.6099, allocations: 105 kB / 0.6911 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.61, allocations: 108.9 kB / 0.6913 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.978e-05/0.61, allocations: 176.3 kB / 0.6914 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.6101, allocations: 180.3 kB / 0.6916 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.199e-05/0.6102, allocations: 180.2 kB / 0.6918 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.827e-05/0.6103, allocations: 184.3 kB / 0.6919 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.6121, allocations: 1.195 MB / 0.6931 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/0.6145, allocations: 0.8661 MB / 0.694 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/0.6157, allocations: 180.2 kB / 0.6941 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.6172, allocations: 105 kB / 0.6942 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.6173, allocations: 184.2 kB / 0.6944 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.6173, allocations: 105 kB / 0.6945 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0161/0.6334, allocations: 7.097 MB / 0.7014 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6334, allocations: 3.938 kB / 0.7014 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0052/0.6386, allocations: 1.145 MB / 0.7026 GB, free: 15.66 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.0002138/0.6388, allocations: 170.5 kB / 0.7027 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003572/0.6424, allocations: 1.812 MB / 0.7045 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6424, allocations: 0 / 0.7045 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.6424, allocations: 0 / 0.7045 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01386/0.6563, allocations: 3.424 MB / 0.7078 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03414/0.6904, allocations: 16.64 MB / 0.7241 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01097/0.7014, allocations: 4.826 MB / 0.7288 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.7025, allocations: 431.4 kB / 0.7292 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of SimCode: time 1.874e-06/0.7025, allocations: 0 / 0.7292 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of Templates: time 0.6984/1.401, allocations: 131.1 MB / 0.8572 GB, free: 31.07 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/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: 25.490697380999336]