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.0008425/0.0008425, allocations: 71.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.0009025/0.0009025, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.9003/0.9003, allocations: 158.6 MB / 185.1 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1369/0.1369, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.55e-05, allocations: 2.281 kB / 407 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001127/0.001153, allocations: 0.5173 MB / 407.5 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.00294, allocations: 1.11 MB / 408.7 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.002959, allocations: 0 / 408.7 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.002975, allocations: 4 kB / 408.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-06/0.002984, allocations: 3.938 kB / 408.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.004641, allocations: 0.7362 MB / 409.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.004691, allocations: 7.984 kB / 409.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.004723, allocations: 4 kB / 409.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.004752, allocations: 0 / 409.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.014e-05/0.004772, allocations: 3.938 kB / 409.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-06/0.004779, allocations: 0 / 409.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.006706, allocations: 2.454 MB / 411.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.006714, allocations: 0 / 411.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.006735, allocations: 4 kB / 411.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.007115, allocations: 375.3 kB / 412.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.007118, allocations: 3.984 kB / 412.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.00712, allocations: 0 / 412.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.007124, allocations: 0 / 412.2 MB, free: 12.93 MB / 394.7 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.0003739/0.007498, allocations: 299.5 kB / 412.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.007546, allocations: 16.03 kB / 412.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.007573, allocations: 30.56 kB / 412.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.0076, allocations: 0 / 412.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.416e-05/0.007664, allocations: 105.2 kB / 412.7 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.00768, allocations: 4 kB / 412.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.007693, allocations: 0 / 412.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.00781, allocations: 67.33 kB / 412.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.00782, allocations: 3.984 kB / 412.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.007828, allocations: 0 / 412.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.007832, allocations: 0 / 412.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.007853, allocations: 29.7 kB / 412.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.286e-05/0.007946, allocations: 120.7 kB / 412.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.008, allocations: 48.2 kB / 413 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.008023, allocations: 34.66 kB / 413 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.008032, allocations: 3.938 kB / 413 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.008069, allocations: 64.27 kB / 413.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.00807, allocations: 0 / 413.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.008226, allocations: 114.8 kB / 413.2 MB, free: 11.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.008265, allocations: 81.11 kB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.898e-05/0.008294, allocations: 93.86 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.008302, allocations: 29.83 kB / 413.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.008321, allocations: 80.14 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.008335, allocations: 0 / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.008355, allocations: 17.66 kB / 413.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.00843, allocations: 314.8 kB / 413.8 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.008447, allocations: 25.7 kB / 413.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.008459, allocations: 33.69 kB / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.0085, allocations: 64.27 kB / 413.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008501, allocations: 0 / 413.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.163e-05/0.008553, allocations: 89.11 kB / 414 MB, free: 10.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.008581, allocations: 37.69 kB / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008585, allocations: 0 / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.008596, allocations: 0 / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.008597, allocations: 0 / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.008601, allocations: 0 / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.008612, allocations: 0 / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.008619, allocations: 7.938 kB / 414 MB, free: 10.85 MB / 394.7 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 7.067e-05/0.00869, allocations: 135.5 kB / 414.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-06/0.008695, allocations: 3.938 kB / 414.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-06/0.008703, allocations: 11.03 kB / 414.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008704, allocations: 0 / 414.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.008708, allocations: 0 / 414.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008711, allocations: 3.984 kB / 414.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.916e-05/0.00877, allocations: 112.8 kB / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008772, allocations: 4 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.008772, allocations: 0 / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008775, allocations: 3.938 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.008781, allocations: 0 / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.008781, allocations: 0 / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.008782, allocations: 0 / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.792e-05/0.008849, allocations: 120.5 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.008855, allocations: 3.938 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.008865, allocations: 4 kB / 414.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-06/0.00887, allocations: 0 / 414.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.008884, allocations: 7.922 kB / 414.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.008886, allocations: 0 / 414.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.893e-05/0.008905, allocations: 75.28 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008905, allocations: 0 / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.00915, allocations: 59.67 kB / 414.6 MB, free: 10.23 MB / 394.7 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.001182/0.01033, allocations: 1.108 MB / 415.7 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.01042, allocations: 110.8 kB / 415.8 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01042, allocations: 0 / 415.8 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.01045, allocations: 89.05 kB / 415.9 MB, free: 8.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.763e-05/0.01055, allocations: 7.125 kB / 415.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.01084, allocations: 164 kB / 416 MB, free: 8.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.058e-05/0.01087, allocations: 51.36 kB / 416.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.01087, allocations: 0 / 416.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.01089, allocations: 12.5 kB / 416.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01089, allocations: 4.125 kB / 416.1 MB, free: 8.562 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02578, allocations: 3.731 MB / 419.8 MB, free: 4.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.013, allocations: 3.938 kB / 419.8 MB, free: 4.793 MB / 394.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.131155252456665]