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.0007911/0.0007911, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009995/0.0009996, allocations: 170.8 kB / 16.58 MB, free: 6.844 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.52/1.52, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3804/0.3804, allocations: 43.55 MB / 314.6 MB, free: 8.816 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.000566/0.000566, allocations: 19.92 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1353, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006537/0.136, allocations: 228.4 kB / 443.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.138, allocations: 1.074 MB / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.138, allocations: 0 / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.1381, allocations: 0 / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.712e-06/0.1381, allocations: 4 kB / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.1397, allocations: 0.6317 MB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.172e-05/0.1398, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.1398, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.1399, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.391e-05/0.1399, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.1399, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.143, allocations: 2.238 MB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-06/0.143, allocations: 0 / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.1431, allocations: 37.64 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.1436, allocations: 315.9 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.1437, allocations: 0 / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1437, allocations: 7.938 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1437, allocations: 0 / 447.4 MB, free: 8.434 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.0005003/0.1442, allocations: 389 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1442, allocations: 8.031 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1443, allocations: 30.56 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.1443, allocations: 7.953 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1444, allocations: 167.1 kB / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.1444, allocations: 0 / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1445, allocations: 0 / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1446, allocations: 33.69 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1446, allocations: 0 / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.1446, allocations: 0 / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1446, allocations: 0 / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.1447, allocations: 7.938 kB / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.1448, allocations: 149.6 kB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.1449, allocations: 18.58 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.1449, allocations: 8.844 kB / 448.2 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1449, allocations: 96 / 448.2 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.145, allocations: 64.2 kB / 448.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.145, allocations: 0 / 448.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000175/0.1452, allocations: 67.34 kB / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.1452, allocations: 81.23 kB / 448.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.931e-05/0.1453, allocations: 93.84 kB / 448.5 MB, free: 7.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1453, allocations: 25.7 kB / 448.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.1453, allocations: 80.14 kB / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1453, allocations: 0 / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-06/0.1453, allocations: 0 / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1455, allocations: 326.7 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.1455, allocations: 0 / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.1455, allocations: 0 / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.1455, allocations: 33.77 kB / 449 MB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1455, allocations: 0 / 449 MB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.679e-05/0.1456, allocations: 63.33 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.1456, allocations: 33.7 kB / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1457, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1457, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1457, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1457, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.1457, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1457, allocations: 0 / 449 MB, free: 6.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.348e-05/0.1458, allocations: 151.5 kB / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.1458, allocations: 0 / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.1458, allocations: 7.109 kB / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1458, allocations: 0 / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1459, allocations: 4 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1459, allocations: 0 / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.105e-05/0.146, allocations: 145.6 kB / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.146, allocations: 0 / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.146, allocations: 0 / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.146, allocations: 4 kB / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.146, allocations: 8 kB / 449.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.146, allocations: 3.984 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.146, allocations: 0 / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.557e-05/0.1461, allocations: 90.73 kB / 449.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.1462, allocations: 93.02 kB / 449.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1462, allocations: 0 / 449.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-06/0.1462, allocations: 0 / 449.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1462, allocations: 4.031 kB / 449.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1462, allocations: 0 / 449.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.53e-05/0.1462, allocations: 75.28 kB / 449.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 4 kB / 449.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1466, allocations: 67.98 kB / 449.7 MB, free: 5.758 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001752/0.1484, allocations: 1.028 MB / 450.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.1485, allocations: 67.34 kB / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1485, allocations: 0 / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.1486, allocations: 51.41 kB / 450.8 MB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1487, allocations: 4 kB / 450.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.1491, allocations: 140.3 kB / 451 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1493, allocations: 0.673 MB / 451.6 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.1494, allocations: 4.125 kB / 451.7 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1494, allocations: 11.44 kB / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1494, allocations: 0 / 451.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.1651, allocations: 3.31 MB / 455 MB, free: 400 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.1654, allocations: 216.1 kB / 455.2 MB, free: 152 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.951, allocations: 0 / 455.2 MB, free: 152 kB / 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat