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.001335/0.001335, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001589/0.001589, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.428/1.428, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.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.2188/0.2188, allocations: 44.26 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> 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"}) [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.003173/0.003173, allocations: 71.89 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1342, allocations: 61.05 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001763/0.1359, allocations: 0.4987 MB / 0.5166 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1381, allocations: 1.122 MB / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1381, allocations: 0 / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.1381, allocations: 0 / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.1381, allocations: 0 / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.1402, allocations: 0.7327 MB / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.1403, allocations: 0 / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.1403, allocations: 0 / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.1403, allocations: 0 / 0.5184 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.259e-05/0.1404, allocations: 3.984 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.1404, allocations: 4 kB / 0.5184 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.1437, allocations: 2.462 MB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1437, allocations: 0 / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1437, allocations: 7.922 kB / 0.5209 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.1442, allocations: 335.5 kB / 0.5212 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1442, allocations: 0 / 0.5212 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1442, allocations: 0 / 0.5212 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1442, allocations: 0 / 0.5212 GB, free: 2.016 MB / 398.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.0004484/0.1447, allocations: 311.5 kB / 0.5215 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1447, allocations: 11.97 kB / 0.5215 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.1447, allocations: 34.55 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.1448, allocations: 7.953 kB / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.691e-05/0.1449, allocations: 101.2 kB / 0.5216 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1449, allocations: 3.938 kB / 0.5216 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1449, allocations: 3.984 kB / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.145, allocations: 59.41 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.145, allocations: 0 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.145, allocations: 0 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.145, allocations: 0 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.145, allocations: 33.7 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.1452, allocations: 124.6 kB / 0.5218 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.1452, allocations: 52.25 kB / 0.5219 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.1453, allocations: 30.56 kB / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.1453, allocations: 0 / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.1453, allocations: 64.33 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1453, allocations: 0 / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002022/0.1455, allocations: 122.7 kB / 0.5221 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1456, allocations: 77.11 kB / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.1456, allocations: 89.98 kB / 0.5223 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1457, allocations: 29.7 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1457, allocations: 80.14 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1457, allocations: 7.984 kB / 0.5224 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.1458, allocations: 13.7 kB / 0.5224 GB, free: 0.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1459, allocations: 310.8 kB / 0.5227 GB, free: 236 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.146, allocations: 29.7 kB / 0.5227 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.146, allocations: 29.7 kB / 0.5227 GB, free: 164 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.146, allocations: 60.27 kB / 0.5228 GB, free: 88 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.146, allocations: 3.938 kB / 0.5228 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.1462, allocations: 97.09 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.1462, allocations: 38.58 kB / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1462, allocations: 0 / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1462, allocations: 0 / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1462, allocations: 0 / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1462, allocations: 4 kB / 0.5229 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.1462, allocations: 0 / 0.5229 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1462, allocations: 0 / 0.5229 GB, free: 15.92 MB / 414.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.0001269/0.1464, allocations: 143.5 kB / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.1464, allocations: 0 / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-06/0.1464, allocations: 7.031 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1464, allocations: 0 / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1464, allocations: 0 / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1464, allocations: 3.938 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1465, allocations: 120.7 kB / 0.5232 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1465, allocations: 0 / 0.5232 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-07/0.1465, allocations: 0 / 0.5232 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1465, allocations: 3.984 kB / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1465, allocations: 0 / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1465, allocations: 0 / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1465, allocations: 4 kB / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.1466, allocations: 128.4 kB / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.1466, allocations: 4 kB / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.1466, allocations: 0 / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.1466, allocations: 0 / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.1467, allocations: 0 / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1467, allocations: 4 kB / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.1467, allocations: 75.28 kB / 0.5234 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1467, allocations: 0 / 0.5234 GB, free: 15.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000347/0.147, allocations: 51.8 kB / 0.5234 GB, free: 15.3 MB / 414.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.001918/0.149, allocations: 1.113 MB / 0.5245 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1491, allocations: 114.8 kB / 0.5246 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1491, allocations: 0 / 0.5246 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.1491, allocations: 81.11 kB / 0.5247 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1493, allocations: 3.984 kB / 0.5247 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.1497, allocations: 172 kB / 0.5249 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.1497, allocations: 55.36 kB / 0.5249 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.761e-06/0.1497, allocations: 0 / 0.5249 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.1498, allocations: 7.562 kB / 0.5249 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1498, allocations: 7.938 kB / 0.525 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.18, allocations: 3.591 MB / 0.5285 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.76, allocations: 11.62 kB / 0.5285 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.csv","/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: 14.886721007991582]