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.00163/0.00163, allocations: 75.05 kB / 19.93 MB, free: 1.781 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.001922/0.001922, allocations: 165.3 kB / 23.21 MB, free: 4.91 MB / 14.72 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 1.47/1.47, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2393/0.2393, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] 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 2.254e-06/2.254e-06, allocations: 0 / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.958e-05/4.184e-05, allocations: 6.219 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002636/0.002678, allocations: 0.4912 MB / 407.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.005806, allocations: 1.113 MB / 408.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.005842, allocations: 0 / 408.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.005865, allocations: 4 kB / 409 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.548e-06/0.005874, allocations: 4 kB / 409 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.009168, allocations: 0.7436 MB / 409.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.009251, allocations: 4 kB / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.009313, allocations: 0 / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.00937, allocations: 0 / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.988e-05/0.0094, allocations: 0 / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.009413, allocations: 4 kB / 409.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.01385, allocations: 2.458 MB / 412.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.01387, allocations: 0 / 412.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.01391, allocations: 0 / 412.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.01495, allocations: 383.3 kB / 412.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/0.01496, allocations: 0 / 412.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01496, allocations: 4 kB / 412.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01497, allocations: 0 / 412.5 MB, free: 13.83 MB / 350.1 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.0008591/0.01583, allocations: 299.5 kB / 412.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.01589, allocations: 8.031 kB / 412.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.01594, allocations: 3.938 kB / 412.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.01609, allocations: 121.2 kB / 413 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01611, allocations: 0 / 413 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.01612, allocations: 0 / 413 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.01628, allocations: 59.34 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01629, allocations: 0 / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.0163, allocations: 0 / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01631, allocations: 4 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.01635, allocations: 25.7 kB / 413.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.01654, allocations: 101.3 kB / 413.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.01666, allocations: 52.31 kB / 413.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.0167, allocations: 30.56 kB / 413.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.01672, allocations: 0 / 413.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.51e-05/0.0168, allocations: 56.27 kB / 413.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.542e-06/0.0168, allocations: 0 / 413.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000328/0.01713, allocations: 122.7 kB / 413.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.01722, allocations: 81.23 kB / 413.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.01729, allocations: 93.86 kB / 413.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.01731, allocations: 25.7 kB / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.01737, allocations: 80.14 kB / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.0174, allocations: 7.891 kB / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.01743, allocations: 17.66 kB / 413.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.0176, allocations: 310.8 kB / 414 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.01765, allocations: 33.69 kB / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.01768, allocations: 29.7 kB / 414.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.01775, allocations: 60.27 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01775, allocations: 4.062 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000129/0.01788, allocations: 85.09 kB / 414.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.01795, allocations: 37.7 kB / 414.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.01796, allocations: 3.938 kB / 414.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.01799, allocations: 0 / 414.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.01799, allocations: 0 / 414.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.018, allocations: 7.922 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.01802, allocations: 7.938 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01803, allocations: 0 / 414.3 MB, free: 11.82 MB / 350.1 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 0.0001331/0.01816, allocations: 131.5 kB / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.01818, allocations: 8.031 kB / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.0182, allocations: 10.92 kB / 414.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.0182, allocations: 0 / 414.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.01821, allocations: 0 / 414.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01821, allocations: 0 / 414.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.01832, allocations: 97.33 kB / 414.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01832, allocations: 3.938 kB / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.01832, allocations: 0 / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01832, allocations: 0 / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01833, allocations: 0 / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01834, allocations: 3.938 kB / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01834, allocations: 4 kB / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.0185, allocations: 116.5 kB / 414.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.01851, allocations: 4 kB / 414.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.01852, allocations: 4 kB / 414.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.01854, allocations: 7.922 kB / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.01857, allocations: 7.922 kB / 414.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.01857, allocations: 0 / 414.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.01862, allocations: 83.28 kB / 414.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01862, allocations: 0 / 414.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.01909, allocations: 47.8 kB / 414.8 MB, free: 11.22 MB / 350.1 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.001861/0.02095, allocations: 0.5543 MB / 415.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.02113, allocations: 114.8 kB / 415.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.02113, allocations: 0 / 415.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.0212, allocations: 81.11 kB / 415.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.02135, allocations: 4 kB / 415.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.02167, allocations: 110.6 kB / 415.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.02173, allocations: 51.36 kB / 415.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.794e-06/0.02174, allocations: 128 / 415.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.02176, allocations: 20.44 kB / 415.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.02176, allocations: 0 / 415.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Templates: time 0.007379/0.02914, allocations: 2.175 MB / 417.9 MB, free: 8.066 MB / 350.1 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.479105871170759]