Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001038/0.001038, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000875/0.000875, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9422/0.9422, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2502/0.2502, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.823e-05, allocations: 3.406 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002894/0.002922, allocations: 1.718 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004306, allocations: 0.978 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.004407, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.004775, allocations: 39.83 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.005222, allocations: 103.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.005533, allocations: 71.67 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005739, allocations: 119.5 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.005858, allocations: 8 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.005957, allocations: 47.89 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.006036, allocations: 27.91 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.006056, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.006156, allocations: 51.8 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.006237, allocations: 19.92 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.006285, allocations: 27.91 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.006497, allocations: 111.6 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006501, allocations: 3.938 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006502, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.006508, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004815/0.006989, allocations: 353.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.00703, allocations: 12.03 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.007061, allocations: 38.69 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.007096, allocations: 12.88 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.007402, allocations: 157.5 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.007419, allocations: 8.312 kB / 443.6 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.00744, allocations: 4.375 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.007572, allocations: 57.98 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007583, allocations: 0 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.007594, allocations: 4 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.007599, allocations: 4 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.007654, allocations: 19.98 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/0.2014, allocations: 257 kB / 443.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.2015, allocations: 56.89 kB / 444 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.2016, allocations: 25.06 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2016, allocations: 0 / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.2017, allocations: 67.45 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.2017, allocations: 0 / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00048/0.2022, allocations: 185.8 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2023, allocations: 55.16 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2024, allocations: 214 kB / 444.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.2024, allocations: 29.7 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.2024, allocations: 107.7 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.2025, allocations: 30.88 kB / 444.7 MB, free: 46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.2025, allocations: 22.34 kB / 444.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.2025, allocations: 320.5 kB / 445 MB, free: 45.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.2026, allocations: 24.42 kB / 445 MB, free: 45.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.2026, allocations: 40.89 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.611e-05/0.2027, allocations: 61.77 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2027, allocations: 0 / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.2028, allocations: 117.6 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2028, allocations: 8.797 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2028, allocations: 0 / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2028, allocations: 0 / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.2029, allocations: 14.53 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2029, allocations: 7.641 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.2029, allocations: 2.656 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2029, allocations: 2.875 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.867e-05/0.203, allocations: 136.1 kB / 445.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.203, allocations: 17.66 kB / 445.4 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2032, allocations: 123.5 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2032, allocations: 2.719 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2032, allocations: 0 / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2032, allocations: 0 / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2034, allocations: 373.3 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2034, allocations: 2.938 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.2035, allocations: 12.59 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2035, allocations: 0 / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.2035, allocations: 9.469 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2035, allocations: 0 / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2035, allocations: 0 / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.2036, allocations: 218.2 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.2036, allocations: 13.84 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2036, allocations: 2.656 kB / 446.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.2037, allocations: 3.719 kB / 446.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.2037, allocations: 13.91 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.2037, allocations: 6.312 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.675e-05/0.2038, allocations: 156.4 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2038, allocations: 0.6562 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.204, allocations: 27.17 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009564/0.2049, allocations: 1.145 MB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2051, allocations: 61.31 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2051, allocations: 0 / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.2051, allocations: 23.59 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.2053, allocations: 31.72 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.2063, allocations: 1.716 MB / 449.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.2064, allocations: 103.2 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.964e-05/0.2064, allocations: 17.3 kB / 449.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.2065, allocations: 48.08 kB / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2065, allocations: 0 / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.2232, allocations: 4.337 MB / 453.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.054, allocations: 6.312 kB / 453.8 MB, free: 41.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.206487487070262]