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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 103.3 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 188.6 kB / 17.19 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2074/0.2074, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.11 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002361/0.1395, allocations: 0.4897 MB / 441 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.1417, allocations: 1.144 MB / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.1418, allocations: 0 / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.1418, allocations: 7.938 kB / 442.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.969e-06/0.1419, allocations: 3.938 kB / 442.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.1446, allocations: 0.6707 MB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.1447, allocations: 0 / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.1448, allocations: 3.984 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.1448, allocations: 4 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.398e-05/0.1448, allocations: 0 / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-06/0.1449, allocations: 0 / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.1474, allocations: 2.449 MB / 445.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-06/0.1474, allocations: 4 kB / 445.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.1475, allocations: 0 / 445.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.1479, allocations: 359.5 kB / 445.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1479, allocations: 4 kB / 445.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.148, allocations: 0 / 445.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.148, allocations: 0 / 445.6 MB, free: 1.781 MB / 318.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.0004682/0.1484, allocations: 381 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1485, allocations: 15.88 kB / 446 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1485, allocations: 0 / 446 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.1486, allocations: 159.1 kB / 446.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1486, allocations: 7.938 kB / 446.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1487, allocations: 0 / 446.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.1488, allocations: 37.58 kB / 446.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1488, allocations: 0 / 446.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1488, allocations: 4 kB / 446.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1488, allocations: 0 / 446.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.1488, allocations: 4 kB / 446.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.1489, allocations: 149.7 kB / 446.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.149, allocations: 26.55 kB / 446.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.149, allocations: 4.859 kB / 446.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-06/0.149, allocations: 4 kB / 446.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1491, allocations: 56.27 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1491, allocations: 8 kB / 446.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000194/0.1493, allocations: 63.39 kB / 446.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1493, allocations: 81.11 kB / 446.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.699e-05/0.1493, allocations: 89.86 kB / 446.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.1494, allocations: 25.7 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.1494, allocations: 84.27 kB / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1494, allocations: 3.938 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1495, allocations: 13.72 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.1495, allocations: 310.8 kB / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.1496, allocations: 0 / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.1496, allocations: 3.984 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.1496, allocations: 68.2 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1497, allocations: 0 / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.237e-05/0.1497, allocations: 67.41 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.1498, allocations: 32.67 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1498, allocations: 3.984 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.1499, allocations: 3.984 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1499, allocations: 0 / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1499, allocations: 4 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.1499, allocations: 3.938 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1499, allocations: 0 / 447.3 MB, free: 15.83 MB / 334.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.0001216/0.15, allocations: 147.4 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.1501, allocations: 4.031 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.1501, allocations: 3.125 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1501, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1501, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1501, allocations: 3.938 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1503, allocations: 153.6 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1503, allocations: 0 / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-06/0.1503, allocations: 0 / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1503, allocations: 3.938 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1503, allocations: 0 / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1503, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1503, allocations: 0 / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1504, allocations: 94.77 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.1505, allocations: 77.11 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1505, allocations: 0 / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.1505, allocations: 4 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1505, allocations: 0 / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1506, allocations: 7.984 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.1506, allocations: 79.31 kB / 447.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1506, allocations: 0 / 447.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.151, allocations: 48 kB / 447.9 MB, free: 15.11 MB / 334.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.1529, allocations: 0.5227 MB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1531, allocations: 71.27 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1531, allocations: 0 / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.1531, allocations: 59.47 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1532, allocations: 8.875 kB / 448.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.1535, allocations: 73.08 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1538, allocations: 0.6767 MB / 449.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.975e-06/0.1538, allocations: 0 / 449.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1538, allocations: 7.438 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1538, allocations: 0 / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Templates: time 0.006337/0.1602, allocations: 2.145 MB / 451.5 MB, free: 11.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile (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) 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) Reference file matches