Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001009/0.001009, allocations: 83.52 kB / 20.02 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.001154/0.001154, allocations: 170 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.8168/0.8168, allocations: 158.6 MB / 185.1 MB, free: 2.988 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.1266/0.1266, allocations: 32.38 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.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 407 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.09e-05, allocations: 10.02 kB / 407 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001018/0.001039, allocations: 498.7 kB / 407.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.002306, allocations: 1.369 MB / 408.9 MB, free: 316 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.002329, allocations: 0 / 408.9 MB, free: 316 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.00234, allocations: 0 / 408.9 MB, free: 316 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.002522, allocations: 11.94 kB / 408.9 MB, free: 304 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.003423, allocations: 259.1 kB / 409.2 MB, free: 44 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.999e-05/0.003473, allocations: 3.984 kB / 409.2 MB, free: 40 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.007e-05/0.003503, allocations: 4 kB / 409.2 MB, free: 36 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.003533, allocations: 0 / 409.2 MB, free: 36 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.003568, allocations: 4 kB / 409.2 MB, free: 32 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.003575, allocations: 0 / 409.2 MB, free: 32 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.005394, allocations: 0.7125 MB / 409.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.005402, allocations: 0 / 409.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.005422, allocations: 4 kB / 409.9 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.005679, allocations: 231.3 kB / 410.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005681, allocations: 0 / 410.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.005683, allocations: 0 / 410.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005687, allocations: 0 / 410.1 MB, free: 15.12 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.0003016/0.005988, allocations: 303.8 kB / 410.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.006024, allocations: 16.02 kB / 410.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.103e-05/0.006045, allocations: 30.75 kB / 410.5 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.006069, allocations: 0.9375 kB / 410.5 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/0.006134, allocations: 101.8 kB / 410.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.006141, allocations: 4.375 kB / 410.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.00615, allocations: 384 / 410.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.27e-05/0.006222, allocations: 63.97 kB / 410.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.006228, allocations: 192 / 410.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.006236, allocations: 7.875 kB / 410.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.006241, allocations: 7.922 kB / 410.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.006261, allocations: 33.62 kB / 410.7 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.685e-05/0.006348, allocations: 120.8 kB / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.205e-05/0.00639, allocations: 44.31 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.006407, allocations: 30.56 kB / 410.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.006414, allocations: 3.984 kB / 410.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.006444, allocations: 64.33 kB / 410.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.006445, allocations: 0 / 410.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.006596, allocations: 122.7 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.006632, allocations: 85.09 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.006688, allocations: 93.86 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.006703, allocations: 25.7 kB / 411.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.006723, allocations: 84.14 kB / 411.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.006738, allocations: 3.953 kB / 411.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.006758, allocations: 9.719 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.006827, allocations: 315.1 kB / 411.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.006845, allocations: 33.69 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.006858, allocations: 33.7 kB / 411.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.006892, allocations: 60.27 kB / 411.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006893, allocations: 0 / 411.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.539e-05/0.006948, allocations: 89.05 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.006976, allocations: 37.69 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.006982, allocations: 3.938 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.006992, allocations: 0 / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.006993, allocations: 0 / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.006997, allocations: 8.094 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.007014, allocations: 3.938 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.00702, allocations: 0 / 411.9 MB, free: 13.02 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 5.865e-05/0.007078, allocations: 135.5 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-06/0.007082, allocations: 0 / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.749e-06/0.007091, allocations: 11.08 kB / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007093, allocations: 0 / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007097, allocations: 0 / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.0071, allocations: 0 / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.948e-05/0.007159, allocations: 116.8 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.00716, allocations: 0 / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-07/0.00716, allocations: 7.938 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.007161, allocations: 0 / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.007168, allocations: 7.938 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-07/0.007169, allocations: 0 / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00717, allocations: 3.984 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.286e-05/0.007243, allocations: 120.4 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.00725, allocations: 11.98 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.00726, allocations: 3.938 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-06/0.007267, allocations: 4 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.007279, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.007282, allocations: 8.031 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.319e-05/0.007305, allocations: 75.28 kB / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007305, allocations: 0 / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.007504, allocations: 59.86 kB / 412.5 MB, free: 12.38 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.0006754/0.00818, allocations: 0.9034 MB / 413.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.008283, allocations: 118.7 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008285, allocations: 3.938 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.008309, allocations: 81.11 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.008413, allocations: 4 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.008712, allocations: 168.1 kB / 413.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.008748, allocations: 55.36 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.965e-06/0.008756, allocations: 128 / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.008781, allocations: 12.5 kB / 413.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008781, allocations: 4 kB / 413.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.02608, allocations: 3.206 MB / 417 MB, free: 7.629 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.047, allocations: 11.84 kB / 417 MB, free: 7.617 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_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_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 9.005942489951849]