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.001376/0.001376, 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.001479/0.001479, allocations: 218 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.468/1.468, 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.2291/0.2291, allocations: 44.26 MB / 330.3 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="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.00233/0.00233, allocations: 71.89 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1115, allocations: 61.04 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001598/0.1131, allocations: 0.5026 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1151, allocations: 1.118 MB / 0.5177 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.1152, allocations: 3.938 kB / 0.5177 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1152, allocations: 0 / 0.5177 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.1152, allocations: 0 / 0.5177 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.1172, allocations: 0.7289 MB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.097e-05/0.1173, allocations: 0 / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.1173, allocations: 0 / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.1173, allocations: 0 / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.1173, allocations: 7.984 kB / 0.5184 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.1173, allocations: 0 / 0.5184 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.1206, allocations: 2.458 MB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1206, allocations: 0 / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.1207, allocations: 11.92 kB / 0.5209 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.1212, allocations: 339.5 kB / 0.5212 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1212, allocations: 0 / 0.5212 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1212, allocations: 0 / 0.5212 GB, free: 2.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1212, allocations: 0 / 0.5212 GB, free: 2.008 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.0004745/0.1217, allocations: 303.5 kB / 0.5215 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1217, allocations: 8.031 kB / 0.5215 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.1218, allocations: 34.5 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1218, allocations: 11.94 kB / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1219, allocations: 101.2 kB / 0.5216 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1219, allocations: 3.938 kB / 0.5216 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1219, allocations: 3.984 kB / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1221, allocations: 59.41 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1221, allocations: 0 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1221, allocations: 0 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1221, allocations: 0 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.1221, allocations: 33.7 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.1223, allocations: 124.6 kB / 0.5218 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.1223, allocations: 52.19 kB / 0.5219 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.1224, allocations: 30.56 kB / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-06/0.1224, allocations: 0 / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/0.1225, allocations: 64.33 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1225, allocations: 4 kB / 0.522 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002225/0.1227, allocations: 118.7 kB / 0.5221 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.1228, allocations: 77.11 kB / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.1228, allocations: 93.86 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1228, allocations: 25.7 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.1229, allocations: 80.14 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1229, allocations: 7.984 kB / 0.5224 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.1229, allocations: 9.719 kB / 0.5224 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1231, allocations: 314.8 kB / 0.5227 GB, free: 236 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.1231, allocations: 29.83 kB / 0.5227 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.1231, allocations: 29.7 kB / 0.5227 GB, free: 164 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.796e-05/0.1232, allocations: 64.27 kB / 0.5228 GB, free: 84 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1232, allocations: 7.875 kB / 0.5228 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.1233, allocations: 93.03 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.1234, allocations: 30.64 kB / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1234, allocations: 3.984 kB / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1234, allocations: 4 kB / 0.5229 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-06/0.1234, allocations: 4 kB / 0.5229 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1234, allocations: 0 / 0.5229 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.1234, allocations: 4.094 kB / 0.5229 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1234, allocations: 0 / 0.5229 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.0001137/0.1235, allocations: 147.5 kB / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.1236, allocations: 0 / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.1236, allocations: 3 kB / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1236, allocations: 0 / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1236, allocations: 0 / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1236, allocations: 0 / 0.5231 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1237, allocations: 120.7 kB / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1237, allocations: 0 / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1237, allocations: 4 kB / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1237, allocations: 0 / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1237, allocations: 3.984 kB / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1237, allocations: 4 kB / 0.5232 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1237, allocations: 0 / 0.5232 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1238, allocations: 120.4 kB / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.1238, allocations: 3.984 kB / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1239, allocations: 0 / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.1239, allocations: 0 / 0.5233 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1239, allocations: 7.938 kB / 0.5233 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1239, allocations: 4 kB / 0.5233 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.1239, allocations: 79.31 kB / 0.5234 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1239, allocations: 0 / 0.5234 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.1243, allocations: 51.8 kB / 0.5235 GB, free: 15.29 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.001986/0.1263, allocations: 1.101 MB / 0.5245 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1264, allocations: 118.7 kB / 0.5246 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1264, allocations: 0 / 0.5246 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.1265, 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.0001378/0.1267, allocations: 4.125 kB / 0.5247 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.1271, allocations: 175.9 kB / 0.5249 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.338e-05/0.1272, allocations: 55.36 kB / 0.5249 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.512e-06/0.1272, allocations: 3.938 kB / 0.5249 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.1272, allocations: 7.438 kB / 0.525 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1272, allocations: 4 kB / 0.525 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1573, allocations: 3.587 MB / 0.5285 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.52, allocations: 7.219 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 & /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.482886955142021]