Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008303/0.0008303, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000824/0.000824, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8085/0.8085, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1209/0.1209, allocations: 32.37 MB / 270.4 MB, free: 14.97 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.643e-05, allocations: 5.938 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001975/0.001991, allocations: 1.808 MB / 410 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.00291, allocations: 0.8659 MB / 410.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.002973, allocations: 4 kB / 410.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.003259, allocations: 163.3 kB / 411 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.003473, allocations: 139.5 kB / 411.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.003689, allocations: 143.5 kB / 411.3 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.003879, allocations: 227.2 kB / 411.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.003959, allocations: 13.81 kB / 411.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004066, allocations: 119.7 kB / 411.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.00418, allocations: 127.7 kB / 411.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004199, allocations: 8 kB / 411.8 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.004264, allocations: 43.92 kB / 411.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.004322, allocations: 55.72 kB / 411.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.004362, allocations: 35.86 kB / 411.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.004552, allocations: 199.2 kB / 412.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004553, allocations: 3.938 kB / 412.1 MB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004554, allocations: 0 / 412.1 MB, free: 8.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004557, allocations: 0 / 412.1 MB, free: 8.988 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004321/0.004989, allocations: 452.8 kB / 412.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.005018, allocations: 8.031 kB / 412.6 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.005057, allocations: 24.8 kB / 412.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.005256, allocations: 208.7 kB / 412.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.005265, allocations: 384 / 412.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.005285, allocations: 8.375 kB / 412.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.00543, allocations: 99.86 kB / 412.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.005442, allocations: 11.92 kB / 412.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005451, allocations: 4 kB / 412.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.005454, allocations: 0 / 412.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.005526, allocations: 47.91 kB / 413 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.00585, allocations: 376.6 kB / 413.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.006016, allocations: 121.2 kB / 413.4 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.006069, allocations: 45.69 kB / 413.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.006081, allocations: 3.984 kB / 413.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.006215, allocations: 117 kB / 413.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.006216, allocations: 0 / 413.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005342/0.00675, allocations: 372.6 kB / 414 MB, free: 6.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.006785, allocations: 85.09 kB / 414.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.00701, allocations: 360.2 kB / 414.4 MB, free: 6.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007024, allocations: 29.69 kB / 414.4 MB, free: 6.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.007083, allocations: 136.4 kB / 414.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.007117, allocations: 47.64 kB / 414.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.007154, allocations: 37.7 kB / 414.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.007235, allocations: 342.8 kB / 415 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.007295, allocations: 47.97 kB / 415 MB, free: 5.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.007364, allocations: 77.42 kB / 415.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.007491, allocations: 127.5 kB / 415.2 MB, free: 5.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007492, allocations: 0 / 415.2 MB, free: 5.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001913/0.007683, allocations: 177.5 kB / 415.4 MB, free: 5.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007695, allocations: 22.64 kB / 415.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.0077, allocations: 0 / 415.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.007708, allocations: 0 / 415.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.007789, allocations: 35.92 kB / 415.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.007794, allocations: 0 / 415.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.007835, allocations: 8 kB / 415.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.007843, allocations: 8 kB / 415.5 MB, free: 5.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.898e-05/0.007932, allocations: 161.7 kB / 415.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.007953, allocations: 27.81 kB / 415.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.00819, allocations: 227.2 kB / 415.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.008192, allocations: 0 / 415.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008197, allocations: 4.75 kB / 415.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.008201, allocations: 3.984 kB / 415.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.008621, allocations: 0.5578 MB / 416.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008623, allocations: 4 kB / 416.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.008657, allocations: 19.94 kB / 416.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.00866, allocations: 4 kB / 416.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.008671, allocations: 16.05 kB / 416.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008673, allocations: 4 kB / 416.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.008675, allocations: 4.016 kB / 416.5 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.008901, allocations: 380.2 kB / 416.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.00892, allocations: 27.8 kB / 416.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.008941, allocations: 8 kB / 416.9 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.009009, allocations: 4 kB / 416.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.009042, allocations: 19.91 kB / 416.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.009056, allocations: 8 kB / 416.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.009218, allocations: 271 kB / 417.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009218, allocations: 4 kB / 417.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.009425, allocations: 47.92 kB / 417.3 MB, free: 3.523 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000653/0.01008, allocations: 0.4902 MB / 417.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01025, allocations: 123.9 kB / 417.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01025, allocations: 0 / 417.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.01032, allocations: 55.92 kB / 417.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.01061, allocations: 48.94 kB / 418 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.01108, allocations: 486.8 kB / 418.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.01117, allocations: 141.1 kB / 418.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.01121, allocations: 32.47 kB / 418.6 MB, free: 2.156 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01121, allocations: 0 / 418.6 MB, free: 2.156 MB / 346.7 MB Notification: Performance of Templates: time 0.002984/0.01419, allocations: 3.226 MB / 421.8 MB, free: 14.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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: 4.358508365228772]