Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008895/0.0008895, allocations: 96.27 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9306/0.9306, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 34.24 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 376.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.45e-05, allocations: 4.703 kB / 376.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002295/0.00232, allocations: 1.712 MB / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003512, allocations: 0.9773 MB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.003588, allocations: 0 / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.003872, allocations: 43.77 kB / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.004171, allocations: 103.5 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.004428, allocations: 75.66 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.00461, allocations: 111.6 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.004699, allocations: 7.938 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.004783, allocations: 55.88 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.004853, allocations: 27.86 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.004871, allocations: 4 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.004952, allocations: 43.92 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.005008, allocations: 27.91 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.005046, allocations: 19.94 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005259, allocations: 127.5 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.005263, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005264, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005269, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.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.0004346/0.005704, allocations: 345.6 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.005745, allocations: 8.031 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.005778, allocations: 34.75 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.005823, allocations: 12.88 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.006011, allocations: 169.9 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.006021, allocations: 4.375 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.006041, allocations: 4.375 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.006176, allocations: 54.23 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.006184, allocations: 192 / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.006195, allocations: 4.125 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006201, allocations: 4 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.006254, allocations: 23.98 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.006589, allocations: 256 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.006719, allocations: 54.67 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.006759, allocations: 28.78 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.006772, allocations: 0 / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.006919, allocations: 67.39 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.00692, allocations: 3.938 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004778/0.007398, allocations: 181.4 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.007434, allocations: 63.28 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.007586, allocations: 214.4 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.007598, allocations: 25.7 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.00765, allocations: 104.1 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.007678, allocations: 31.75 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.007712, allocations: 25.7 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.007874, allocations: 326.8 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.007916, allocations: 19.98 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.00796, allocations: 41.7 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.008049, allocations: 65.58 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008051, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001341/0.008185, allocations: 97.64 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008199, allocations: 4.031 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.008206, allocations: 8 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.008219, allocations: 0 / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.008296, allocations: 19.92 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.008301, allocations: 160 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.008336, allocations: 8 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.008344, allocations: 7.984 kB / 382.4 MB, free: 13.48 MB / 362.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 7.704e-05/0.008421, allocations: 125.8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.00844, allocations: 19.91 kB / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.008615, allocations: 123.2 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008617, allocations: 8 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.008621, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.008626, allocations: 3.984 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.008957, allocations: 378.3 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.00896, allocations: 384 / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.008988, allocations: 12 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.008992, allocations: 0 / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.009003, allocations: 4 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.009005, allocations: 0 / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.009007, allocations: 7.938 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.00916, allocations: 216.3 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.009177, allocations: 15.91 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.009195, allocations: 7.938 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.009234, allocations: 0 / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.009267, allocations: 19.84 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.009281, allocations: 8 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.009371, allocations: 163.2 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009371, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.009555, allocations: 23.94 kB / 383.5 MB, free: 12.28 MB / 362.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.001139/0.01069, allocations: 1.133 MB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.01087, allocations: 63.89 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01087, allocations: 0 / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.01093, allocations: 32 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.01122, allocations: 31.91 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.01272, allocations: 1.72 MB / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.01279, allocations: 92.8 kB / 386.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.01285, allocations: 20.66 kB / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.01291, allocations: 40.48 kB / 386.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01291, allocations: 0 / 386.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.03124, allocations: 4.418 MB / 391.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.053, allocations: 8 kB / 391.1 MB, free: 4.762 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.083856979385018]