Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.0008687/0.0008687, 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.001078/0.001078, 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 1.039/1.039, allocations: 158.6 MB / 185.1 MB, free: 2.992 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.1392/0.1392, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.841e-05, allocations: 2.281 kB / 407.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002887/0.002905, allocations: 1.684 MB / 408.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004036, allocations: 0.7763 MB / 409.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.004084, allocations: 4 kB / 409.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.004271, allocations: 47.7 kB / 409.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.004402, allocations: 63.62 kB / 409.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.004561, allocations: 79.7 kB / 409.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.54e-05/0.004656, allocations: 99.69 kB / 409.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.004702, allocations: 8.172 kB / 409.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.004761, allocations: 51.83 kB / 409.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.004808, allocations: 31.91 kB / 410 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.004819, allocations: 4 kB / 410 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.00488, allocations: 39.92 kB / 410 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.004911, allocations: 23.91 kB / 410 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.004937, allocations: 15.94 kB / 410.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.005063, allocations: 119.6 kB / 410.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005064, allocations: 0 / 410.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005065, allocations: 0 / 410.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.005068, allocations: 3.938 kB / 410.2 MB, free: 10.27 MB / 346.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.0002911/0.005359, allocations: 345.5 kB / 410.5 MB, free: 9.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.005387, allocations: 16.03 kB / 410.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.878e-05/0.005406, allocations: 30.75 kB / 410.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.005431, allocations: 12.88 kB / 410.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.005561, allocations: 155.5 kB / 410.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-06/0.005567, allocations: 384 / 410.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.005579, allocations: 4.375 kB / 410.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.005655, allocations: 57.98 kB / 410.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.005664, allocations: 7.891 kB / 410.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.00567, allocations: 0 / 410.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-06/0.005672, allocations: 4 kB / 410.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.005711, allocations: 23.98 kB / 410.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.005928, allocations: 252 kB / 411.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.006019, allocations: 54.67 kB / 411.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.006049, allocations: 28.78 kB / 411.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.006057, allocations: 0 / 411.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.716e-05/0.006144, allocations: 67.39 kB / 411.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.006145, allocations: 0 / 411.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002968/0.006442, allocations: 189.3 kB / 411.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.006464, allocations: 55.41 kB / 411.5 MB, free: 8.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.00659, allocations: 207.2 kB / 411.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.006601, allocations: 25.7 kB / 411.7 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.00664, allocations: 104.1 kB / 411.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.006659, allocations: 27.78 kB / 411.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.006688, allocations: 21.72 kB / 411.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.006768, allocations: 326.8 kB / 412.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.006799, allocations: 23.98 kB / 412.2 MB, free: 8.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.006837, allocations: 41.64 kB / 412.2 MB, free: 8.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/0.006906, allocations: 69.64 kB / 412.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006906, allocations: 0 / 412.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001044/0.007011, allocations: 97.53 kB / 412.4 MB, free: 7.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.007022, allocations: 14.64 kB / 412.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.007024, allocations: 0 / 412.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.007035, allocations: 0 / 412.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.007079, allocations: 16 kB / 412.4 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.007082, allocations: 352 / 412.4 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.007106, allocations: 4 kB / 412.4 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.007112, allocations: 11.92 kB / 412.4 MB, free: 7.824 MB / 346.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 6.499e-05/0.007177, allocations: 129.8 kB / 412.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.00719, allocations: 7.953 kB / 412.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.007334, allocations: 131 kB / 412.7 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.007336, allocations: 4 kB / 412.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.007338, allocations: 0 / 412.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.00734, allocations: 0 / 412.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.007611, allocations: 374.3 kB / 413.1 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007612, allocations: 0 / 413.1 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.007633, allocations: 11.94 kB / 413.1 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.007635, allocations: 4.031 kB / 413.1 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00764, allocations: 4 kB / 413.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007641, allocations: 0 / 413.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.007643, allocations: 3.938 kB / 413.1 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.007781, allocations: 216.3 kB / 413.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.007792, allocations: 11.91 kB / 413.3 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.007804, allocations: 0 / 413.3 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.007841, allocations: 4.375 kB / 413.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.007864, allocations: 15.92 kB / 413.3 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.007874, allocations: 7.984 kB / 413.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.007954, allocations: 155.9 kB / 413.5 MB, free: 6.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007954, allocations: 0 / 413.5 MB, free: 6.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.008124, allocations: 27.92 kB / 413.5 MB, free: 6.652 MB / 346.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.0009393/0.009063, allocations: 1.127 MB / 414.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.009174, allocations: 67.89 kB / 414.7 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.009175, allocations: 0 / 414.7 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.009212, allocations: 27.92 kB / 414.7 MB, free: 5.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.009407, allocations: 31.91 kB / 414.8 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.0106, allocations: 1.686 MB / 416.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.637e-05/0.01065, allocations: 100.3 kB / 416.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.01069, allocations: 12.59 kB / 416.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.01073, allocations: 40.42 kB / 416.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01073, allocations: 0 / 416.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.02603, allocations: 4.247 MB / 420.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.651, allocations: 0 / 420.8 MB, free: 15.1 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.00007396005094]