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.001023/0.001023, allocations: 97.53 kB / 15.69 MB, free: 488 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.001209/0.001209, allocations: 174.4 kB / 16.56 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.719/1.719, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4778/0.4778, allocations: 43.54 MB / 314.5 MB, free: 8.738 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.00052/0.00052, allocations: 20 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0007567/0.1537, allocations: 232.4 kB / 443.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1557, allocations: 1.02 MB / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.1557, allocations: 0 / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1558, allocations: 0 / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-06/0.1558, allocations: 0 / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1575, allocations: 0.6081 MB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.066e-05/0.1575, allocations: 0 / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.1576, allocations: 4 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1576, allocations: 3.984 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.885e-05/0.1576, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.1576, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000808/0.1584, allocations: 0.5304 MB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.1585, allocations: 4 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.1585, allocations: 25.7 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.159, allocations: 271.5 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.159, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.159, allocations: 4 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.159, allocations: 0 / 445.5 MB, free: 10.29 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.0005241/0.1595, allocations: 393.2 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1596, allocations: 16 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.1596, allocations: 30.56 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1597, allocations: 15.88 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1598, allocations: 159.1 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1598, allocations: 0 / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.1598, allocations: 3.938 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.16, allocations: 33.7 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.16, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.16, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.16, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.16, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1602, allocations: 153.6 kB / 446.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.1602, allocations: 18.61 kB / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.1603, allocations: 3.938 kB / 446.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.1603, allocations: 60.27 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1603, allocations: 0 / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000217/0.1605, allocations: 63.45 kB / 446.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1606, allocations: 85.05 kB / 446.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.746e-05/0.1607, allocations: 93.86 kB / 446.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1607, allocations: 25.7 kB / 446.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.1608, allocations: 80.14 kB / 446.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1608, allocations: 0 / 446.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.1608, allocations: 4.125 kB / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.161, allocations: 314.8 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.161, allocations: 0 / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.161, allocations: 7.938 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.1611, allocations: 29.69 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1611, allocations: 0 / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.764e-05/0.1612, allocations: 63.41 kB / 447.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.1612, allocations: 29.7 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1612, allocations: 4.094 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1612, allocations: 4 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.1612, allocations: 0 / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1613, allocations: 4 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1613, allocations: 0 / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1613, allocations: 3.984 kB / 447.2 MB, free: 8.355 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 0.00017/0.1615, allocations: 139.5 kB / 447.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.1615, allocations: 0 / 447.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.1615, allocations: 7.062 kB / 447.3 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1615, allocations: 4 kB / 447.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1615, allocations: 0 / 447.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1615, allocations: 0 / 447.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1617, allocations: 153.6 kB / 447.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1617, allocations: 0 / 447.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.1617, allocations: 0 / 447.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1617, allocations: 3.938 kB / 447.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1617, allocations: 0 / 447.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1617, allocations: 0 / 447.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1617, allocations: 0 / 447.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1618, allocations: 98.83 kB / 447.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1619, allocations: 81.06 kB / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1619, allocations: 0 / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.1619, allocations: 4 kB / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.1619, allocations: 0 / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.162, allocations: 0 / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.162, allocations: 75.28 kB / 447.7 MB, free: 7.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.162, allocations: 0 / 447.7 MB, free: 7.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.1625, allocations: 96 kB / 447.8 MB, free: 7.598 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.001191/0.1637, allocations: 0.9015 MB / 448.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1638, allocations: 55.41 kB / 448.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1638, allocations: 0 / 448.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.1638, allocations: 55.41 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.453e-05/0.1639, allocations: 3.938 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.1644, allocations: 152.5 kB / 449 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.1648, allocations: 0.677 MB / 449.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.346e-06/0.1648, allocations: 0 / 449.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.1648, allocations: 7.438 kB / 449.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1648, allocations: 0 / 449.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.1838, allocations: 3.821 MB / 453.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.1841, allocations: 212.1 kB / 453.7 MB, free: 1.594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.072, allocations: 0 / 453.7 MB, free: 1.594 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/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