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.001753/0.001753, allocations: 79.75 kB / 20.52 MB, free: 1.121 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.002184/0.002184, allocations: 163.9 kB / 23.76 MB, free: 4.199 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.432/1.432, allocations: 158.6 MB / 185.5 MB, free: 6.137 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.2129/0.2129, allocations: 32.38 MB / 270.1 MB, free: 2.703 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 75.83 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1496, allocations: 61.03 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001882/0.1515, allocations: 0.5027 MB / 469.3 MB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1537, allocations: 1.122 MB / 470.4 MB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.1538, allocations: 0 / 470.4 MB, free: 6.703 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.1538, allocations: 0 / 470.4 MB, free: 6.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.1538, allocations: 0 / 470.4 MB, free: 6.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.1562, allocations: 0.7383 MB / 471.1 MB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.1563, allocations: 0 / 471.1 MB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.1564, allocations: 4 kB / 471.1 MB, free: 5.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.1564, allocations: 0 / 471.1 MB, free: 5.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.369e-05/0.1564, allocations: 3.984 kB / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.1564, allocations: 4 kB / 471.2 MB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/0.16, allocations: 2.451 MB / 473.6 MB, free: 3.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1601, allocations: 0 / 473.6 MB, free: 3.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.1601, allocations: 7.938 kB / 473.6 MB, free: 3.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.1606, allocations: 351.4 kB / 474 MB, free: 3.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1606, allocations: 0 / 474 MB, free: 3.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1606, allocations: 0 / 474 MB, free: 3.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1606, allocations: 0 / 474 MB, free: 3.156 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005145/0.1612, allocations: 303.5 kB / 474.2 MB, free: 2.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1612, allocations: 16.02 kB / 474.3 MB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.1613, allocations: 0 / 474.3 MB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/0.1613, allocations: 101.2 kB / 474.4 MB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1614, allocations: 3.938 kB / 474.4 MB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1614, allocations: 4 kB / 474.4 MB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1615, allocations: 63.34 kB / 474.4 MB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1615, allocations: 0 / 474.4 MB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1615, allocations: 0 / 474.4 MB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1615, allocations: 4 kB / 474.4 MB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.1616, allocations: 25.7 kB / 474.5 MB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1617, allocations: 97.31 kB / 474.6 MB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.1618, allocations: 44.31 kB / 474.6 MB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.1618, allocations: 38.5 kB / 474.6 MB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1618, allocations: 8 kB / 474.6 MB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.1619, allocations: 60.27 kB / 474.7 MB, free: 2.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1619, allocations: 3.938 kB / 474.7 MB, free: 2.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000235/0.1621, allocations: 114.8 kB / 474.8 MB, free: 2.113 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.1622, allocations: 77.11 kB / 474.9 MB, free: 2.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.1623, allocations: 93.86 kB / 475 MB, free: 1.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1623, allocations: 25.7 kB / 475 MB, free: 1.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1623, allocations: 84.14 kB / 475.1 MB, free: 1.801 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1623, allocations: 0 / 475.1 MB, free: 1.801 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1624, allocations: 9.719 kB / 475.1 MB, free: 1.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1625, allocations: 318.8 kB / 475.4 MB, free: 1.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.1625, allocations: 25.83 kB / 475.4 MB, free: 1.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.1626, allocations: 33.64 kB / 475.5 MB, free: 1.395 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.1626, allocations: 64.27 kB / 475.5 MB, free: 1.316 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1626, allocations: 0 / 475.5 MB, free: 1.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.1627, allocations: 93.03 kB / 475.6 MB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.1628, allocations: 33.64 kB / 475.7 MB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1628, allocations: 4 kB / 475.7 MB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1628, allocations: 0 / 475.7 MB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1628, allocations: 0 / 475.7 MB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1628, allocations: 0 / 475.7 MB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.1628, allocations: 4.094 kB / 475.7 MB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1628, allocations: 0 / 475.7 MB, free: 1.16 MB / 446.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.0001038/0.1629, allocations: 139.5 kB / 475.8 MB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.1629, allocations: 7.922 kB / 475.8 MB, free: 1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.163, allocations: 6.984 kB / 475.8 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.163, allocations: 3.938 kB / 475.8 MB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.163, allocations: 0 / 475.8 MB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.163, allocations: 8 kB / 475.8 MB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.832e-05/0.1631, allocations: 93.33 kB / 475.9 MB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1631, allocations: 0 / 475.9 MB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1631, allocations: 4 kB / 475.9 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1631, allocations: 3.938 kB / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1631, allocations: 4 kB / 475.9 MB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1631, allocations: 0 / 475.9 MB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1631, allocations: 3.984 kB / 475.9 MB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.1632, allocations: 112.5 kB / 476 MB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.1632, allocations: 3.938 kB / 476.1 MB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1632, allocations: 3.984 kB / 476.1 MB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-06/0.1632, allocations: 0 / 476.1 MB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1633, allocations: 7.984 kB / 476.1 MB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1633, allocations: 4.031 kB / 476.1 MB, free: 0.6797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.1633, allocations: 75.28 kB / 476.1 MB, free: 0.6055 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1633, allocations: 0 / 476.1 MB, free: 0.6055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.1637, allocations: 59.73 kB / 476.2 MB, free: 0.5469 MB / 446.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.001568/0.1652, allocations: 0.538 MB / 476.7 MB, free: 12 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2672/0.4324, allocations: 109.1 kB / 476.8 MB, free: 50.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4324, allocations: 0.5625 kB / 476.8 MB, free: 50.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.4324, allocations: 81.2 kB / 476.9 MB, free: 50.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.4326, allocations: 4.625 kB / 476.9 MB, free: 50.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.4329, allocations: 112.2 kB / 477 MB, free: 50.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.4329, allocations: 57.02 kB / 477.1 MB, free: 50.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.658e-06/0.4329, allocations: 0 / 477.1 MB, free: 50.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.433, allocations: 9.156 kB / 477.1 MB, free: 50.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.864e-06/0.433, allocations: 0.5 kB / 477.1 MB, free: 50.07 MB / 446.1 MB Notification: Performance of Templates: time 0.00559/0.4386, allocations: 2.15 MB / 479.3 MB, free: 49.95 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/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.290253133978695]