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.001257/0.001257, allocations: 109 kB / 20.48 MB, free: 1.477 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.001463/0.001463, allocations: 208.8 kB / 23.78 MB, free: 4.688 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.471/1.471, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2383/0.2383, allocations: 44.24 MB / 331.1 MB, free: 9.598 MB / 270.1 MB " [Timeout remaining time 179] 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.002175/0.002175, allocations: 71.91 kB / 468.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.131, allocations: 61.04 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001737/0.1327, allocations: 0.4988 MB / 0.5174 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1349, allocations: 1.187 MB / 0.5185 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.1349, allocations: 4 kB / 0.5186 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.1349, allocations: 0 / 0.5186 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.1349, allocations: 0 / 0.5186 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.137, allocations: 0.7406 MB / 0.5193 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.1371, allocations: 3.984 kB / 0.5193 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1371, allocations: 0 / 0.5193 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.1371, allocations: 4 kB / 0.5193 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.668e-05/0.1372, allocations: 0 / 0.5193 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-06/0.1372, allocations: 0 / 0.5193 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003567/0.1407, allocations: 2.509 MB / 0.5217 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1408, allocations: 0 / 0.5217 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1408, allocations: 0 / 0.5217 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.1414, allocations: 367.3 kB / 0.5221 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1414, allocations: 0 / 0.5221 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1414, allocations: 0 / 0.5221 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1414, allocations: 0 / 0.5221 GB, free: 2.039 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.0005092/0.1419, allocations: 299.6 kB / 0.5224 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.142, allocations: 12.03 kB / 0.5224 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.736e-05/0.142, allocations: 0 / 0.5224 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.142, allocations: 30.56 kB / 0.5224 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.1421, allocations: 7.891 kB / 0.5224 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.1422, allocations: 109.2 kB / 0.5225 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1422, allocations: 4 kB / 0.5225 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1422, allocations: 3.938 kB / 0.5225 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.1423, allocations: 33.7 kB / 0.5226 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1423, allocations: 0 / 0.5226 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1423, allocations: 4 kB / 0.5226 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1423, allocations: 0 / 0.5226 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.1423, allocations: 3.984 kB / 0.5226 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1425, allocations: 124.6 kB / 0.5227 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.1425, allocations: 18.58 kB / 0.5227 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1425, allocations: 12.8 kB / 0.5227 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.1425, allocations: 0 / 0.5227 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.1426, allocations: 60.36 kB / 0.5228 GB, free: 1.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1426, allocations: 3.938 kB / 0.5228 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001841/0.1428, allocations: 67.38 kB / 0.5228 GB, free: 1.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1428, allocations: 77.23 kB / 0.5229 GB, free: 1.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.1429, allocations: 93.86 kB / 0.523 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1429, allocations: 25.7 kB / 0.523 GB, free: 0.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.143, allocations: 84.14 kB / 0.5231 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.143, allocations: 0 / 0.5231 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.143, allocations: 13.72 kB / 0.5231 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1431, allocations: 314.8 kB / 0.5234 GB, free: 464 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.1431, allocations: 3.938 kB / 0.5234 GB, free: 460 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.1432, allocations: 4 kB / 0.5234 GB, free: 456 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.1432, allocations: 64.27 kB / 0.5235 GB, free: 376 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1432, allocations: 0 / 0.5235 GB, free: 376 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.89e-05/0.1433, allocations: 63.41 kB / 0.5236 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.1433, allocations: 33.69 kB / 0.5236 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1433, allocations: 4 kB / 0.5236 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1433, allocations: 0 / 0.5236 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.1433, allocations: 0 / 0.5236 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1433, allocations: 0 / 0.5236 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.1433, allocations: 0 / 0.5236 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1434, allocations: 4.031 kB / 0.5236 GB, free: 252 kB / 398.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.0001047/0.1435, allocations: 143.4 kB / 0.5237 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.1435, allocations: 3.938 kB / 0.5237 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-06/0.1435, allocations: 3 kB / 0.5237 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1435, allocations: 0 / 0.5237 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1435, allocations: 0 / 0.5237 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1435, allocations: 11.97 kB / 0.5237 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1436, allocations: 120.7 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1436, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1436, allocations: 4 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1436, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1436, allocations: 4 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.1436, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1436, allocations: 0 / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.1437, allocations: 90.77 kB / 0.524 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.1437, allocations: 4 kB / 0.524 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1437, allocations: 0 / 0.524 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.1437, allocations: 8.031 kB / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.1438, allocations: 3.984 kB / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1438, allocations: 4 kB / 0.524 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.1438, allocations: 79.22 kB / 0.5241 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1438, allocations: 0 / 0.5241 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.1441, allocations: 55.73 kB / 0.5241 GB, free: 15.64 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.001911/0.146, allocations: 1.06 MB / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1462, allocations: 59.41 kB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1462, allocations: 0 / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.1462, allocations: 59.33 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1463, allocations: 7.438 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.1467, allocations: 150.4 kB / 0.5254 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.147, allocations: 0.669 MB / 0.5261 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.709e-06/0.147, allocations: 0 / 0.5261 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.1471, allocations: 11.44 kB / 0.5261 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1471, allocations: 0 / 0.5261 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.1706, allocations: 3.203 MB / 0.5292 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.54, allocations: 4.062 kB / 0.5292 GB, free: 10.31 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: 14.696114217978902]