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.001735/0.001735, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002048/0.002048, allocations: 215.3 kB / 23.78 MB, free: 4.551 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.553/1.553, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2261/0.2261, allocations: 44.26 MB / 331.1 MB, free: 9.312 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="cs",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.002481/0.002481, allocations: 75.88 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1357, allocations: 61.04 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002005/0.1377, allocations: 0.5065 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.14, allocations: 1.11 MB / 0.5185 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.1401, allocations: 0 / 0.5185 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.1401, allocations: 0 / 0.5185 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.1401, allocations: 0 / 0.5185 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.1427, allocations: 0.7406 MB / 0.5192 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.1428, allocations: 11.94 kB / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.1428, allocations: 0 / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.1428, allocations: 0 / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.235e-05/0.1429, allocations: 3.984 kB / 0.5192 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.1429, allocations: 4 kB / 0.5192 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.1464, allocations: 2.466 MB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1464, allocations: 4 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1464, allocations: 7.984 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.147, allocations: 347.4 kB / 0.522 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.147, allocations: 0 / 0.522 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.147, allocations: 0 / 0.522 GB, free: 1.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.147, allocations: 0 / 0.522 GB, free: 1.988 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.0004908/0.1475, allocations: 295.6 kB / 0.5223 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1476, allocations: 8.031 kB / 0.5223 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.1476, allocations: 4 kB / 0.5223 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.1476, allocations: 30.56 kB / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1477, allocations: 11.94 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.663e-05/0.1478, allocations: 109.2 kB / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.1478, allocations: 0 / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1478, allocations: 0 / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1479, allocations: 55.41 kB / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1479, allocations: 3.938 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1479, allocations: 3.984 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1479, allocations: 0 / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.148, allocations: 29.7 kB / 0.5225 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1481, allocations: 128.6 kB / 0.5226 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.1482, allocations: 44.31 kB / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.1482, allocations: 34.5 kB / 0.5227 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1482, allocations: 7.938 kB / 0.5227 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.1483, allocations: 60.33 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1483, allocations: 0 / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002262/0.1485, allocations: 122.7 kB / 0.5229 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1486, allocations: 77.11 kB / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.1486, allocations: 89.86 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1486, allocations: 25.7 kB / 0.5231 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.1487, allocations: 80.14 kB / 0.5231 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1487, allocations: 7.984 kB / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.1487, allocations: 13.84 kB / 0.5232 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1489, allocations: 318.8 kB / 0.5235 GB, free: 216 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.1489, allocations: 29.7 kB / 0.5235 GB, free: 180 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.1489, allocations: 25.7 kB / 0.5235 GB, free: 148 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.149, allocations: 68.14 kB / 0.5236 GB, free: 64 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.149, allocations: 0 / 0.5236 GB, free: 64 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.1491, allocations: 93.09 kB / 0.5237 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.1491, allocations: 30.64 kB / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1491, allocations: 0 / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1492, allocations: 0 / 0.5237 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-06/0.1492, allocations: 12.09 kB / 0.5237 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1492, allocations: 0 / 0.5237 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.1492, allocations: 0 / 0.5237 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1492, allocations: 0 / 0.5237 GB, free: 15.91 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.0001115/0.1493, allocations: 143.5 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.1493, allocations: 0 / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-06/0.1493, allocations: 3 kB / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1493, allocations: 0 / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1493, allocations: 0 / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1493, allocations: 0 / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1494, allocations: 128.7 kB / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1494, allocations: 0 / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.1494, allocations: 0 / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1494, allocations: 0 / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1494, allocations: 3.984 kB / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1495, allocations: 7.938 kB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1495, allocations: 0 / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1496, allocations: 120.4 kB / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.1496, allocations: 3.984 kB / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1496, allocations: 0 / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.1496, allocations: 0 / 0.5241 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.1496, allocations: 8.031 kB / 0.5241 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1496, allocations: 3.938 kB / 0.5241 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.1497, allocations: 75.28 kB / 0.5242 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1497, allocations: 0 / 0.5242 GB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.1501, allocations: 51.8 kB / 0.5242 GB, free: 15.28 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.002111/0.1522, allocations: 1.105 MB / 0.5253 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1523, allocations: 110.8 kB / 0.5254 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.1523, allocations: 4 kB / 0.5254 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.1524, allocations: 85.17 kB / 0.5255 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1525, allocations: 0 / 0.5255 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1531, allocations: 183.9 kB / 0.5257 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.1531, allocations: 55.3 kB / 0.5257 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.784e-06/0.1531, allocations: 0 / 0.5257 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1532, allocations: 11.44 kB / 0.5257 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1532, allocations: 0 / 0.5257 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1782, allocations: 3.246 MB / 0.5289 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.92, allocations: 4.062 kB / 0.5289 GB, free: 10.35 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 & /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) [Timeout 52.5] 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","/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: 15.200018333038315]