Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001322/0.001322, 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.00119/0.00119, 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.9375/0.9375, allocations: 158.6 MB / 185 MB, free: 3.039 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.1322/0.1322, allocations: 32.37 MB / 269.6 MB, free: 15.05 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.833e-05, allocations: 17.95 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002302/0.00232, allocations: 1.868 MB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.003212, allocations: 0.8154 MB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.003303, allocations: 3.938 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.003603, allocations: 43.59 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.003797, allocations: 71.55 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.004, allocations: 103.7 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.004165, allocations: 139.5 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.00427, allocations: 25.67 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.004362, allocations: 75.75 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.00444, allocations: 35.89 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.004459, allocations: 8 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.004533, allocations: 43.92 kB / 410.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.004585, allocations: 31.84 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.004629, allocations: 31.86 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.004817, allocations: 147.5 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004819, allocations: 3.938 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00482, allocations: 0 / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.004823, allocations: 0 / 410.4 MB, free: 14.69 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000454/0.005277, allocations: 403.1 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.005313, allocations: 8.031 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.005343, allocations: 42.73 kB / 410.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.005379, allocations: 16.84 kB / 410.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.005589, allocations: 169.4 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.005601, allocations: 4.375 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.00562, allocations: 8.375 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.005799, allocations: 134.2 kB / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005807, allocations: 8 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.005816, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005821, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.961e-05/0.005911, allocations: 59.89 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.006329, allocations: 480 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.006541, allocations: 86.66 kB / 411.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.006593, allocations: 40.84 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.006605, allocations: 0 / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.006746, allocations: 117 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.006747, allocations: 0 / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002449/0.006992, allocations: 145.5 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.007019, allocations: 55.41 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.007141, allocations: 191.6 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.007159, allocations: 33.62 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.007218, allocations: 124 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.007238, allocations: 23.81 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.007274, allocations: 29.7 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.007347, allocations: 322.8 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.007395, allocations: 27.98 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.007453, allocations: 68.27 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.007561, allocations: 108.5 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.007563, allocations: 3.938 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001478/0.007711, allocations: 133.4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.007723, allocations: 7.281 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007727, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.007738, allocations: 0 / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.007795, allocations: 23.98 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007799, allocations: 4.125 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.007837, allocations: 23.83 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007845, allocations: 7.984 kB / 413.2 MB, free: 11.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.513e-05/0.00792, allocations: 125.8 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.007935, allocations: 15.91 kB / 413.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.008111, allocations: 131 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008113, allocations: 4 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.008116, allocations: 0 / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.008124, allocations: 7.922 kB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.008232, allocations: 172.7 kB / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008233, allocations: 0 / 413.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.008279, allocations: 12 kB / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008281, allocations: 0 / 413.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.008292, allocations: 11.98 kB / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008294, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008295, allocations: 0 / 413.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.008504, allocations: 197 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.008521, allocations: 19.88 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.008535, allocations: 4.062 kB / 413.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.008561, allocations: 4 kB / 413.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.008593, allocations: 15.92 kB / 413.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.008609, allocations: 11.92 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.008683, allocations: 141.2 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008683, allocations: 3.938 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.008842, allocations: 27.98 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001066/0.009909, allocations: 1.055 MB / 415.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.01007, allocations: 79.89 kB / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01008, allocations: 0 / 415.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.01013, allocations: 35.92 kB / 415.3 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01033, allocations: 51.44 kB / 415.3 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.01166, allocations: 1.755 MB / 417.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.822e-05/0.01173, allocations: 102.8 kB / 417.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.0118, allocations: 25.14 kB / 417.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.01186, allocations: 40.48 kB / 417.2 MB, free: 7.355 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01186, allocations: 0 / 417.2 MB, free: 7.355 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.03197, allocations: 4.643 MB / 421.9 MB, free: 2.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.021, allocations: 15.72 kB / 421.9 MB, free: 2.562 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.251755311153829]