Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.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.0008267/0.0008267, allocations: 80.45 kB / 20.69 MB, free: 3.852 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.0007825/0.0007825, allocations: 173.2 kB / 23.96 MB, free: 0.5742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8188/0.8188, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1274/0.1274, allocations: 32.37 MB / 270.3 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.586e-05, allocations: 2.281 kB / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0008508/0.0008667, allocations: 0.4985 MB / 408.6 MB, free: 1.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002049, allocations: 1.117 MB / 409.7 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.002065, allocations: 0 / 409.7 MB, free: 132 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.002079, allocations: 8 kB / 409.7 MB, free: 124 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.002085, allocations: 0 / 409.7 MB, free: 124 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.003362, allocations: 0.7479 MB / 410.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.122e-05/0.003403, allocations: 4 kB / 410.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.881e-05/0.003432, allocations: 0 / 410.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.003453, allocations: 0 / 410.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.56e-05/0.003469, allocations: 0 / 410.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.003475, allocations: 4 kB / 410.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.005126, allocations: 2.458 MB / 412.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-06/0.005133, allocations: 0 / 412.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.005148, allocations: 0 / 412.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.005456, allocations: 379.3 kB / 413.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005458, allocations: 3.938 kB / 413.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005459, allocations: 4 kB / 413.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005462, allocations: 0 / 413.3 MB, free: 12.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002672/0.005729, allocations: 299.6 kB / 413.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.005757, allocations: 8.031 kB / 413.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.005788, allocations: 0 / 413.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.978e-05/0.005848, allocations: 113.2 kB / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.005861, allocations: 0 / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.005869, allocations: 0 / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.005942, allocations: 67.28 kB / 413.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.005949, allocations: 0 / 413.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.005956, allocations: 4 kB / 413.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.005959, allocations: 0 / 413.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.005978, allocations: 25.7 kB / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.787e-05/0.006056, allocations: 101.3 kB / 413.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.006094, allocations: 44.31 kB / 413.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.006111, allocations: 30.56 kB / 414 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.006117, allocations: 0 / 414 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.00615, allocations: 64.2 kB / 414 MB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.006151, allocations: 4.062 kB / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.006288, allocations: 114.7 kB / 414.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.006318, allocations: 85.23 kB / 414.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.756e-05/0.006346, allocations: 93.81 kB / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.006352, allocations: 25.7 kB / 414.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.00637, allocations: 84.14 kB / 414.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.006384, allocations: 3.938 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.006402, allocations: 13.72 kB / 414.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.006471, allocations: 310.8 kB / 414.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.006485, allocations: 29.69 kB / 414.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.006496, allocations: 29.7 kB / 414.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.006527, allocations: 68.27 kB / 414.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.006529, allocations: 4 kB / 414.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.532e-05/0.006574, allocations: 93.08 kB / 415 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.006595, allocations: 29.7 kB / 415 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.0066, allocations: 3.938 kB / 415 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.00661, allocations: 0 / 415 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-07/0.00661, allocations: 0 / 415 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006614, allocations: 0 / 415 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.006623, allocations: 4 kB / 415 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.006628, allocations: 0 / 415 MB, free: 10.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.2e-05/0.00668, allocations: 139.6 kB / 415.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-06/0.006684, allocations: 4 kB / 415.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-06/0.006693, allocations: 18.8 kB / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.006697, allocations: 0 / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.0067, allocations: 0 / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.006702, allocations: 0 / 415.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.204e-05/0.006744, allocations: 101.3 kB / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006745, allocations: 4 kB / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.006745, allocations: 0 / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.006746, allocations: 0 / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.006751, allocations: 0 / 415.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006752, allocations: 7.938 kB / 415.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.006752, allocations: 0 / 415.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.8e-05/0.00681, allocations: 120.5 kB / 415.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-06/0.006813, allocations: 0 / 415.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.006821, allocations: 4 kB / 415.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-06/0.006827, allocations: 3.938 kB / 415.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.006837, allocations: 3.984 kB / 415.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.006838, allocations: 0 / 415.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.778e-05/0.006856, allocations: 79.28 kB / 415.5 MB, free: 9.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006856, allocations: 0 / 415.5 MB, free: 9.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.007044, allocations: 51.8 kB / 415.5 MB, free: 9.922 MB / 394.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008297/0.007874, allocations: 0.5505 MB / 416.1 MB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.007952, allocations: 114.7 kB / 416.2 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007954, allocations: 0 / 416.2 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.007977, allocations: 81.11 kB / 416.3 MB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.319e-05/0.00806, allocations: 7.594 kB / 416.3 MB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/0.008206, allocations: 140.2 kB / 416.4 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.008233, allocations: 51.36 kB / 416.5 MB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.008245, allocations: 16.62 kB / 416.5 MB, free: 8.879 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.008245, allocations: 0 / 416.5 MB, free: 8.879 MB / 394.7 MB Notification: Performance of Templates: time 0.002629/0.01087, allocations: 2.61 MB / 419.1 MB, free: 6.266 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.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.008171105757356]