Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.001948/0.001948, allocations: 75.2 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002181/0.002181, allocations: 173.4 kB / 23.22 MB, free: 4.887 MB / 14.72 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.627/1.627, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.2217/0.2217, allocations: 32.38 MB / 269.6 MB, free: 2.723 MB / 254.1 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 407.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.031e-05, allocations: 2.281 kB / 407.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003156/0.003186, allocations: 1.682 MB / 409.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.004668, allocations: 0.7724 MB / 409.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.004733, allocations: 3.938 kB / 409.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.005015, allocations: 35.84 kB / 409.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.005247, allocations: 67.67 kB / 410 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.005515, allocations: 75.72 kB / 410.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.005719, allocations: 107.6 kB / 410.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005821, allocations: 12.17 kB / 410.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005926, allocations: 43.84 kB / 410.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.006021, allocations: 31.89 kB / 410.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.006046, allocations: 4 kB / 410.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.815e-05/0.006144, allocations: 43.88 kB / 410.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.00621, allocations: 19.91 kB / 410.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.006265, allocations: 27.86 kB / 410.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.006486, allocations: 111.6 kB / 410.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006489, allocations: 0 / 410.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00649, allocations: 0 / 410.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.006497, allocations: 4 kB / 410.5 MB, free: 13.69 MB / 350.1 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.0005655/0.007063, allocations: 337.6 kB / 410.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.007097, allocations: 8.031 kB / 410.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.007144, allocations: 8.891 kB / 410.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.007491, allocations: 149.5 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.007505, allocations: 4.312 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.007529, allocations: 12.38 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.007691, allocations: 54.23 kB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.007706, allocations: 7.922 kB / 411 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.007716, allocations: 0 / 411 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00772, allocations: 0 / 411 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.007795, allocations: 19.98 kB / 411.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.008154, allocations: 224.6 kB / 411.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.008352, allocations: 62.61 kB / 411.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.008416, allocations: 28.72 kB / 411.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.008426, allocations: 4 kB / 411.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.008582, allocations: 71.39 kB / 411.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.008583, allocations: 0 / 411.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.009172, allocations: 185.3 kB / 411.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.009218, allocations: 51.41 kB / 411.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.009423, allocations: 186.3 kB / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.009443, allocations: 25.7 kB / 411.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.00952, allocations: 112 kB / 412 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.009557, allocations: 23.84 kB / 412 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.009602, allocations: 25.7 kB / 412 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.009757, allocations: 322.8 kB / 412.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.009822, allocations: 23.94 kB / 412.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.009901, allocations: 41.64 kB / 412.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01005, allocations: 65.64 kB / 412.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01005, allocations: 0 / 412.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.01025, allocations: 97.56 kB / 412.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01027, allocations: 10.66 kB / 412.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01028, allocations: 0 / 412.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01029, allocations: 4.031 kB / 412.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01039, allocations: 19.98 kB / 412.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.0104, allocations: 0 / 412.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.01045, allocations: 7.953 kB / 412.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01046, allocations: 4 kB / 412.6 MB, free: 11.35 MB / 350.1 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 0.0001329/0.01059, allocations: 134.5 kB / 412.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.01062, allocations: 11.95 kB / 412.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.01092, allocations: 126.5 kB / 412.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01092, allocations: 0 / 412.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01092, allocations: 4 kB / 412.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01093, allocations: 0 / 412.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.01143, allocations: 350.9 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01143, allocations: 0 / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.01148, allocations: 8 kB / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01148, allocations: 0 / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01149, allocations: 4 kB / 413.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01149, allocations: 384 / 413.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01149, allocations: 3.938 kB / 413.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.01178, allocations: 220.2 kB / 413.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.0118, allocations: 11.98 kB / 413.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01183, allocations: 8 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.0119, allocations: 4 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.01195, allocations: 7.984 kB / 413.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01196, allocations: 384 / 413.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.01212, allocations: 159 kB / 413.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01212, allocations: 0 / 413.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.01239, allocations: 24 kB / 413.7 MB, free: 10.22 MB / 350.1 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.001911/0.0143, allocations: 495.7 kB / 414.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.01451, allocations: 55.98 kB / 414.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01451, allocations: 3.938 kB / 414.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01461, allocations: 23.98 kB / 414.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.01497, allocations: 44.02 kB / 414.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.01548, allocations: 230.4 kB / 414.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/0.01558, allocations: 88.3 kB / 414.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.01563, allocations: 20.66 kB / 414.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.01567, allocations: 24.48 kB / 414.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01567, allocations: 4 kB / 414.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Templates: time 0.005406/0.02108, allocations: 1.807 MB / 416.5 MB, free: 7.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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: 5.201122242957354]