Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008951/0.0008951, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00552/0.00552, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9533/0.9533, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.655e-05, allocations: 3.828 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002577/0.002604, allocations: 1.916 MB / 442.8 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.00389, allocations: 1.007 MB / 443.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.004013, allocations: 4 kB / 443.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.004326, allocations: 43.64 kB / 443.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.004674, allocations: 103.4 kB / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.004918, allocations: 99.58 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.00512, allocations: 147.5 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.005226, allocations: 17.8 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.005331, allocations: 83.67 kB / 444.3 MB, free: 236 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.00542, allocations: 39.91 kB / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.005438, allocations: 4 kB / 444.4 MB, free: 192 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.005528, allocations: 51.91 kB / 444.4 MB, free: 140 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.005583, allocations: 27.86 kB / 444.5 MB, free: 112 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.005633, allocations: 31.91 kB / 444.5 MB, free: 80 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1918/0.1975, allocations: 156.9 kB / 444.6 MB, free: 44.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1975, allocations: 0 / 444.6 MB, free: 44.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1975, allocations: 0 / 444.6 MB, free: 44.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1975, allocations: 0 / 444.6 MB, free: 44.03 MB / 410.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.0005997/0.1981, allocations: 410.6 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1981, allocations: 8.531 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.1982, allocations: 17.78 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1984, allocations: 174.7 kB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1985, allocations: 4.688 kB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1985, allocations: 11.19 kB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1987, allocations: 130.4 kB / 445.4 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1987, allocations: 3.281 kB / 445.4 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1987, allocations: 12.84 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1987, allocations: 2.656 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.1988, allocations: 56.36 kB / 445.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1992, allocations: 448.7 kB / 445.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1994, allocations: 89.08 kB / 446 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1994, allocations: 35.88 kB / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1995, allocations: 0 / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.1996, allocations: 111.7 kB / 446.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.1996, allocations: 0 / 446.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002643/0.1999, allocations: 155.5 kB / 446.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.1999, allocations: 51.41 kB / 446.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2, allocations: 202 kB / 446.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2, allocations: 30.52 kB / 446.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.2001, allocations: 122.5 kB / 446.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2001, allocations: 30.97 kB / 446.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.2001, allocations: 25.84 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.2001, allocations: 336.8 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.2002, allocations: 27.88 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.2002, allocations: 68.33 kB / 447.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.858e-05/0.2003, allocations: 99.53 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2003, allocations: 5.969 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001431/0.2005, allocations: 140.4 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2005, allocations: 5.25 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2005, allocations: 2.938 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2005, allocations: 3.531 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.2006, allocations: 26.16 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2006, allocations: 0 / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.2006, allocations: 12.56 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2006, allocations: 5.438 kB / 447.4 MB, free: 42.18 MB / 410.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 6.205e-05/0.2007, allocations: 131.6 kB / 447.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.2007, allocations: 15.34 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.2009, allocations: 141 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2009, allocations: 0 / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2009, allocations: 128 / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2009, allocations: 4 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.201, allocations: 152.4 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.201, allocations: 3.281 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.201, allocations: 14.84 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.201, allocations: 0 / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.201, allocations: 3.938 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.201, allocations: 6.625 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.201, allocations: 2.906 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.2012, allocations: 192.8 kB / 448.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.2013, allocations: 25.86 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2013, allocations: 0 / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.2013, allocations: 7.656 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2013, allocations: 13.34 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2014, allocations: 6.812 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.2014, allocations: 146.7 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2014, allocations: 0 / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.2016, allocations: 23.81 kB / 448.3 MB, free: 41.72 MB / 410.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.0007029/0.2023, allocations: 443.5 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.2025, allocations: 87.38 kB / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2025, allocations: 0 / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.748e-05/0.2025, allocations: 39.5 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2027, allocations: 37.08 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.2031, allocations: 286.7 kB / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.2032, allocations: 105.8 kB / 449.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.2032, allocations: 23.02 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2032, allocations: 0 / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of Templates: time 0.00282/0.206, allocations: 2.268 MB / 451.6 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.965666805393994]