Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008933/0.0008933, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008521/0.0008521, 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.9274/0.9274, allocations: 158.6 MB / 185 MB, free: 3.031 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.139/0.139, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.21e-05, allocations: 2.281 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002591/0.002623, allocations: 1.683 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003724, allocations: 0.7803 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.003793, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.004107, allocations: 39.77 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.004333, allocations: 59.62 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.004565, allocations: 83.66 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.004759, allocations: 103.7 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004883, allocations: 8.234 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.004976, allocations: 51.78 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.005068, allocations: 31.89 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.005092, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.005185, allocations: 39.94 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.005248, allocations: 19.91 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.005293, allocations: 19.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005487, allocations: 99.69 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005491, allocations: 0 / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005492, allocations: 3.938 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.005498, allocations: 8 kB / 409.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004496/0.005948, allocations: 333.6 kB / 410.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.005991, allocations: 12.03 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.006021, allocations: 34.73 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.006053, allocations: 8.891 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.006254, allocations: 146.2 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.006267, allocations: 4.375 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.006285, allocations: 4.125 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.006403, allocations: 53.67 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006414, allocations: 4 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006424, allocations: 7.984 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006429, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.006482, allocations: 19.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.006783, allocations: 251.9 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.006903, allocations: 54.67 kB / 410.9 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.006938, allocations: 20.86 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.006953, allocations: 0 / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.007074, allocations: 79.31 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.007075, allocations: 4 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000405/0.00748, allocations: 173.5 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.007521, allocations: 55.34 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.007637, allocations: 170.3 kB / 411.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.007651, allocations: 29.7 kB / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.007702, allocations: 100.1 kB / 411.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.007727, allocations: 23.8 kB / 411.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.007759, allocations: 21.7 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.007835, allocations: 318.8 kB / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.00787, allocations: 23.98 kB / 411.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.007919, allocations: 41.7 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.00799, allocations: 69.56 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007991, allocations: 4 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001081/0.008099, allocations: 105.6 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.008111, allocations: 8 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.008116, allocations: 0 / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.008127, allocations: 0 / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.008188, allocations: 16.12 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.008195, allocations: 15.95 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.00822, allocations: 3.938 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.008227, allocations: 4 kB / 412.1 MB, free: 12.73 MB / 394.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.408e-05/0.008291, allocations: 121.8 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.008301, allocations: 7.953 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.00846, allocations: 122.4 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008462, allocations: 0 / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.008468, allocations: 3.938 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.008472, allocations: 0 / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.008787, allocations: 366.4 kB / 412.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008788, allocations: 0 / 412.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.00881, allocations: 15.98 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008813, allocations: 3.938 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.008821, allocations: 0 / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.008824, allocations: 4 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008825, allocations: 384 / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.008954, allocations: 204.3 kB / 412.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.008967, allocations: 15.88 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.008984, allocations: 8 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.009022, allocations: 8.031 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.009051, allocations: 11.92 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.009064, allocations: 8 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.009126, allocations: 123.2 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009126, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.009299, allocations: 27.92 kB / 413.1 MB, free: 11.62 MB / 394.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.001108/0.01041, allocations: 1.14 MB / 414.3 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.01053, allocations: 59.91 kB / 414.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01053, allocations: 0 / 414.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.01058, allocations: 27.98 kB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.0108, allocations: 20.3 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.01207, allocations: 1.605 MB / 416 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.894e-05/0.01213, allocations: 87.41 kB / 416.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.696e-05/0.01217, allocations: 20.36 kB / 416.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.01222, allocations: 32.48 kB / 416.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01222, allocations: 0 / 416.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.02717, allocations: 4.076 MB / 420.2 MB, free: 4.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/6.951, allocations: 11.78 kB / 420.2 MB, free: 4.297 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.136374559253454]