Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 116.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.3 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2331/0.2331, allocations: 46.92 MB / 358.2 MB, free: 10.41 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 83.86 kB / 0.4925 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.124, allocations: 65.99 MB / 0.557 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01302/0.1371, allocations: 10.41 MB / 0.5671 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006779/0.1438, allocations: 3.091 MB / 0.5701 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1451, allocations: 75.62 kB / 0.5702 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005449/0.1505, allocations: 2.714 MB / 0.5729 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.1533, allocations: 1.062 MB / 0.5739 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.154, allocations: 263.5 kB / 0.5742 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.1562, allocations: 1.521 MB / 0.5756 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.1588, allocations: 2.051 MB / 0.5776 GB, free: 228 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.1601, allocations: 0.9343 MB / 0.5786 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.1647, allocations: 3.394 MB / 0.5819 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.1652, allocations: 188 kB / 0.582 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.1659, allocations: 271.8 kB / 0.5823 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002752/0.1687, allocations: 3.008 MB / 0.5852 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003465/0.1721, allocations: 3.337 MB / 0.5885 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2818/0.454, allocations: 9.871 MB / 0.5981 GB, free: 15.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.454, allocations: 0.875 kB / 0.5981 GB, free: 15.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.454, allocations: 1.562 kB / 0.5981 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005308/0.4545, allocations: 0.5312 kB / 0.5981 GB, free: 15.27 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.02116/0.4757, allocations: 9.111 MB / 0.607 GB, free: 10.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4757, allocations: 10.12 kB / 0.6071 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.4788, allocations: 1.025 MB / 0.6081 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008366/0.4872, allocations: 3.829 MB / 0.6118 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.4873, allocations: 129 kB / 0.6119 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006448/0.488, allocations: 173.3 kB / 0.6121 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.4992, allocations: 6.605 MB / 0.6185 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.4993, allocations: 6 kB / 0.6185 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.4995, allocations: 78.86 kB / 0.6186 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001603/0.5011, allocations: 1.563 MB / 0.6201 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007327/0.5084, allocations: 4.126 MB / 0.6242 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03062/0.539, allocations: 20.31 MB / 0.644 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.5406, allocations: 333.9 kB / 0.6443 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.5407, allocations: 64.11 kB / 0.6444 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005954/0.5467, allocations: 3.28 MB / 0.6476 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.5467, allocations: 112.4 kB / 0.6477 GB, free: 1.242 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.335e-06/0.5467, allocations: 0 / 0.6477 GB, free: 1.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 0.001828/0.5486, allocations: 0.8755 MB / 0.6485 GB, free: 364 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.5486, allocations: 134.2 kB / 0.6487 GB, free: 220 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02096/0.5696, allocations: 10.55 MB / 0.659 GB, free: 5.719 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.5696, allocations: 25.7 kB / 0.659 GB, free: 5.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007019/0.5766, allocations: 5.961 MB / 0.6648 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.5768, allocations: 91.91 kB / 0.6649 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.5782, allocations: 0.8222 MB / 0.6657 GB, free: 14.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5783, allocations: 305.1 kB / 0.666 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.5796, allocations: 0.7592 MB / 0.6667 GB, free: 13.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.5834, allocations: 4.004 MB / 0.6707 GB, free: 8.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/0.5891, allocations: 5.205 MB / 0.6757 GB, free: 1.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.74e-05/0.5892, allocations: 32 kB / 0.6758 GB, free: 1.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00921/0.5984, allocations: 4.964 MB / 0.6806 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.5985, allocations: 56 kB / 0.6807 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.5987, allocations: 116 kB / 0.6808 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.5988, allocations: 152.5 kB / 0.6809 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.6014, allocations: 0.9824 MB / 0.6819 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000192/0.6015, allocations: 231.7 kB / 0.6821 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/0.6059, allocations: 0.6193 MB / 0.6827 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/0.6063, allocations: 291.6 kB / 0.683 GB, free: 10.77 MB / 0.4981 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.006071/0.6124, allocations: 3.407 MB / 0.6863 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/0.6144, allocations: 0.956 MB / 0.6873 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.6171, allocations: 1.023 MB / 0.6883 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.014e-05/0.6172, allocations: 176.3 kB / 0.6884 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.108e-05/0.6173, allocations: 181.7 kB / 0.6886 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/0.6173, allocations: 187.7 kB / 0.6888 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.629, allocations: 5.138 MB / 0.6938 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/0.6291, allocations: 101 kB / 0.6939 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.6291, allocations: 101 kB / 0.694 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.359e-05/0.6292, allocations: 184.2 kB / 0.6942 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.6293, allocations: 186.5 kB / 0.6943 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.141e-05/0.6293, allocations: 184.2 kB / 0.6945 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.846e-05/0.6294, allocations: 180.3 kB / 0.6947 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6313, allocations: 1.198 MB / 0.6959 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/0.6335, allocations: 0.9453 MB / 0.6968 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/0.635, allocations: 192.2 kB / 0.697 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.6367, allocations: 105 kB / 0.6971 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.6367, allocations: 176.3 kB / 0.6972 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.6368, allocations: 107 kB / 0.6973 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01451/0.6513, allocations: 7.142 MB / 0.7043 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6513, allocations: 0 / 0.7043 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005445/0.6567, allocations: 1.133 MB / 0.7054 GB, free: 3.609 MB / 0.5137 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.0001891/0.6569, allocations: 177.7 kB / 0.7056 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.6601, allocations: 1.8 MB / 0.7073 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6601, allocations: 384 / 0.7073 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.6601, allocations: 8 kB / 0.7073 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01534/0.6754, allocations: 3.45 MB / 0.7107 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/0.7097, allocations: 16.69 MB / 0.727 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/0.7204, allocations: 5.277 MB / 0.7322 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.7215, allocations: 431.4 kB / 0.7326 GB, free: 7.738 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/0.7215, allocations: 0 / 0.7326 GB, free: 7.738 MB / 0.545 GB Notification: Performance of Templates: time 0.5065/1.228, allocations: 127.7 MB / 0.8573 GB, free: 176.4 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 24.10150781099219]