Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001874/0.001874, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002001/0.002001, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.357/0.357, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.779e-05, allocations: 2.312 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003357/0.003384, allocations: 1.695 MB / 379.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.005376, allocations: 0.9903 MB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.005447, allocations: 0 / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.005789, allocations: 47.75 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.006134, allocations: 111.5 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.006351, allocations: 75.62 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.006538, allocations: 103.7 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.006583, allocations: 8.172 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.006708, allocations: 51.78 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.006799, allocations: 23.91 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.006822, allocations: 4 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.006914, allocations: 31.98 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.006983, allocations: 27.86 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.007035, allocations: 19.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.007266, allocations: 119.6 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007269, allocations: 0 / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.007273, allocations: 8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.007278, allocations: 0 / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006851/0.007963, allocations: 471.3 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.008004, allocations: 12.03 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.008078, allocations: 16.84 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.008348, allocations: 165.3 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.008364, allocations: 4.375 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.008374, allocations: 384 / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.008521, allocations: 46.25 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.008535, allocations: 7.922 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.008545, allocations: 4 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.008553, allocations: 3.984 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.008622, allocations: 12 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.008888, allocations: 168.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.009076, allocations: 59.05 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.009137, allocations: 19.67 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.009154, allocations: 0 / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.009325, allocations: 73.05 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.009326, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003314/0.009658, allocations: 105.5 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.009707, allocations: 59.34 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.01002, allocations: 293.6 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.01005, allocations: 29.7 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.01018, allocations: 174.8 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.01021, allocations: 11.89 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.01027, allocations: 27.38 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000291/0.01056, allocations: 0.504 MB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.01062, allocations: 15.98 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.01068, allocations: 31.38 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.0108, allocations: 59.55 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.0108, allocations: 0 / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001723/0.01097, allocations: 85.53 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01099, allocations: 5.875 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.011, allocations: 7.938 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01101, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.01109, allocations: 11.98 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01109, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.01114, allocations: 4 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.01115, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0001385/0.01128, allocations: 172 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.01132, allocations: 15.91 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.0116, allocations: 106.8 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.0116, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.0116, allocations: 4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01161, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.01182, allocations: 168.5 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01182, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.01185, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01185, allocations: 0 / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01186, allocations: 8 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.01187, allocations: 7.938 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01187, allocations: 0 / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.0121, allocations: 132.4 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.01213, allocations: 11.95 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01215, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.0122, allocations: 15.92 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.01223, allocations: 3.938 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01225, allocations: 4 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.01245, allocations: 204.5 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01245, allocations: 0 / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004858/0.01294, allocations: 23.98 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.003004/0.01594, allocations: 430.6 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.01613, allocations: 55.61 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01613, allocations: 0 / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.01621, allocations: 27.67 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01652, allocations: 31.88 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.01706, allocations: 242.5 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01717, allocations: 105.8 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.01722, allocations: 12.48 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.01726, allocations: 12.5 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01726, allocations: 0 / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of Templates: time 0.0055/0.02276, allocations: 1.664 MB / 386.5 MB, free: 9.551 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.98159989900887]