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: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.538/1.538, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3979/0.3979, allocations: 43.51 MB / 313.5 MB, free: 8.531 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.001779/0.001779, allocations: 70.56 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.124, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.00183/0.1258, allocations: 0.5542 MB / 440.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.128, allocations: 1.186 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.128, allocations: 4 kB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.1281, allocations: 0 / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.1281, allocations: 0 / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.1301, allocations: 0.6356 MB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.93e-05/0.1301, allocations: 3.984 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.1302, allocations: 7.938 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.1302, allocations: 0 / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.452e-05/0.1302, allocations: 0 / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.1302, allocations: 0 / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.1338, allocations: 2.605 MB / 444.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.1338, allocations: 0 / 444.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.1339, allocations: 0 / 444.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.1345, allocations: 435.2 kB / 445.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1345, allocations: 0 / 445.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1346, allocations: 4 kB / 445.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1346, allocations: 0 / 445.3 MB, free: 9.305 MB / 382.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.0005899/0.1352, allocations: 380.9 kB / 445.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.619e-05/0.1352, allocations: 8.031 kB / 445.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.1353, allocations: 34.56 kB / 445.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1353, allocations: 7.938 kB / 445.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1355, allocations: 163 kB / 445.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1355, allocations: 0 / 445.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1355, allocations: 4 kB / 445.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1357, allocations: 33.69 kB / 446 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1357, allocations: 0 / 446 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1357, allocations: 0 / 446 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1357, allocations: 0 / 446 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.208e-05/0.1358, allocations: 3.938 kB / 446 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.136, allocations: 145.7 kB / 446.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.892e-05/0.136, allocations: 26.52 kB / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.1361, allocations: 4.859 kB / 446.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1361, allocations: 0 / 446.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.1361, allocations: 64.31 kB / 446.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1361, allocations: 0 / 446.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002456/0.1364, allocations: 59.41 kB / 446.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.1365, allocations: 81.05 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.1365, allocations: 93.86 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1366, allocations: 29.83 kB / 446.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.1366, allocations: 84.08 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1366, allocations: 0 / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1367, allocations: 17.7 kB / 446.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1368, allocations: 310.8 kB / 446.9 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.1369, allocations: 0 / 446.9 MB, free: 7.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1369, allocations: 0 / 446.9 MB, free: 7.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.967e-05/0.137, allocations: 68.33 kB / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.137, allocations: 0 / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.068e-05/0.1371, allocations: 63.39 kB / 447 MB, free: 7.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.1371, allocations: 33.64 kB / 447 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1371, allocations: 0 / 447 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1372, allocations: 7.938 kB / 447 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-06/0.1372, allocations: 0 / 447 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1372, allocations: 7.875 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.1372, allocations: 0 / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1372, allocations: 0 / 447 MB, free: 7.324 MB / 382.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.0001409/0.1374, allocations: 143.5 kB / 447.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.1374, allocations: 3.984 kB / 447.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.1374, allocations: 7.125 kB / 447.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1374, allocations: 0 / 447.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1374, allocations: 3.938 kB / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1374, allocations: 4 kB / 447.2 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1376, allocations: 145.7 kB / 447.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1376, allocations: 0 / 447.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1376, allocations: 0 / 447.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1376, allocations: 0 / 447.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1376, allocations: 7.984 kB / 447.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1376, allocations: 0 / 447.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1376, allocations: 7.938 kB / 447.3 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.1377, allocations: 82.84 kB / 447.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1378, allocations: 81.09 kB / 447.5 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1378, allocations: 4 kB / 447.5 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.1378, allocations: 3.938 kB / 447.5 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.1379, allocations: 11.95 kB / 447.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.1379, allocations: 0 / 447.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.995e-05/0.1379, allocations: 75.28 kB / 447.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1379, allocations: 0 / 447.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1382, allocations: 51.98 kB / 447.7 MB, free: 6.594 MB / 382.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.0027/0.1409, allocations: 1.07 MB / 448.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1411, allocations: 59.39 kB / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1411, allocations: 3.938 kB / 448.8 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.1411, allocations: 55.41 kB / 448.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.1413, allocations: 11.88 kB / 448.9 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.1418, allocations: 132.3 kB / 449 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1421, allocations: 0.681 MB / 449.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.843e-06/0.1421, allocations: 4 kB / 449.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.1421, allocations: 7.438 kB / 449.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1421, allocations: 0 / 449.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1596, allocations: 2.888 MB / 452.6 MB, free: 1.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.1598, allocations: 221.4 kB / 452.8 MB, free: 1.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.908, allocations: 3.938 kB / 452.8 MB, free: 1.316 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches