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.0009306/0.0009306, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001022/0.001022, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.9747/0.9747, allocations: 158.6 MB / 185 MB, free: 3.027 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.147/0.147, allocations: 32.37 MB / 269.6 MB, free: 14.96 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 2.235e-06/2.235e-06, allocations: 0 / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.104e-05, allocations: 6.219 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001927/0.001958, allocations: 0.5023 MB / 407.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.004114, allocations: 1.117 MB / 408.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.004138, allocations: 0 / 408.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.004156, allocations: 0 / 408.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.004163, allocations: 0 / 408.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.006152, allocations: 0.7518 MB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.006203, allocations: 0 / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.006241, allocations: 0 / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.006268, allocations: 0 / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.006288, allocations: 7.984 kB / 409.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.535e-06/0.006296, allocations: 0 / 409.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.008321, allocations: 2.458 MB / 411.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.008329, allocations: 0 / 411.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.00835, allocations: 0 / 411.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.008759, allocations: 379.3 kB / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.008764, allocations: 0 / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.008765, allocations: 0 / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.008771, allocations: 0 / 412 MB, free: 13.04 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.0003364/0.009107, allocations: 299.6 kB / 412.3 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.009147, allocations: 15.97 kB / 412.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.37e-05/0.00917, allocations: 34.55 kB / 412.4 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.009197, allocations: 19.86 kB / 412.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.308e-05/0.00925, allocations: 101.2 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.00926, allocations: 0 / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.009268, allocations: 0 / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.009366, allocations: 59.34 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.009374, allocations: 0 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.009385, allocations: 0 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.00939, allocations: 0 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.009413, allocations: 33.7 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.895e-05/0.009512, allocations: 124.7 kB / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.009557, allocations: 48.25 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.009575, allocations: 30.56 kB / 412.8 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.009582, allocations: 3.938 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.009619, allocations: 60.33 kB / 412.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.00962, allocations: 0 / 412.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.009785, allocations: 118.8 kB / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.009828, allocations: 81.05 kB / 413 MB, free: 11.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.751e-05/0.009855, allocations: 89.86 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.009864, allocations: 29.83 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.009881, allocations: 80.14 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.009897, allocations: 4 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.009918, allocations: 9.719 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.01, allocations: 318.8 kB / 413.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.01002, allocations: 29.7 kB / 413.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.01004, allocations: 25.7 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.01007, allocations: 60.27 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01007, allocations: 0 / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.827e-05/0.01013, allocations: 101.1 kB / 413.8 MB, free: 11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.01016, allocations: 33.64 kB / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01016, allocations: 0 / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01017, allocations: 0 / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.01017, allocations: 4 kB / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01018, allocations: 0 / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.01019, allocations: 0 / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.0102, allocations: 0 / 413.8 MB, free: 10.96 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 6.513e-05/0.01026, allocations: 139.5 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-06/0.01027, allocations: 7.875 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-06/0.01028, allocations: 3.031 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.01028, allocations: 4 kB / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01028, allocations: 0 / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01029, allocations: 0 / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.805e-05/0.01034, allocations: 120.8 kB / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.01034, allocations: 3.938 kB / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.01035, allocations: 0 / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01035, allocations: 3.938 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.01036, allocations: 3.984 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01036, allocations: 4 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01036, allocations: 0 / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.01044, allocations: 124.5 kB / 414.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.01044, allocations: 7.922 kB / 414.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.01045, allocations: 0 / 414.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-06/0.01046, allocations: 0 / 414.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.01047, allocations: 4 kB / 414.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.01047, allocations: 0 / 414.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.978e-05/0.01049, allocations: 75.28 kB / 414.3 MB, free: 10.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01049, allocations: 0 / 414.3 MB, free: 10.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01073, allocations: 55.73 kB / 414.3 MB, free: 10.32 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.00114/0.01187, allocations: 1.112 MB / 415.5 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.01197, allocations: 114.8 kB / 415.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01197, allocations: 0 / 415.6 MB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.012, allocations: 81.11 kB / 415.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.0121, allocations: 7.734 kB / 415.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.01239, allocations: 160 kB / 415.8 MB, free: 8.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.134e-05/0.01242, allocations: 55.36 kB / 415.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.01e-06/0.01242, allocations: 0 / 415.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.01244, allocations: 8.5 kB / 415.9 MB, free: 8.664 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01244, allocations: 4.125 kB / 415.9 MB, free: 8.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.03054, allocations: 3.738 MB / 419.6 MB, free: 4.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.106, allocations: 3.938 kB / 419.6 MB, free: 4.879 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.345556611195207]