Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001439/0.001439, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001723/0.001723, allocations: 168.8 kB / 24.99 MB, free: 8.793 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2957/0.2957, allocations: 34.26 MB / 296 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.389e-05, allocations: 2.312 kB / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002618/0.002642, allocations: 1.954 MB / 380.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003877, allocations: 1.04 MB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003979, allocations: 0 / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.004271, allocations: 55.58 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.004572, allocations: 103.4 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.004797, allocations: 99.58 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004991, allocations: 143.5 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005099, allocations: 21.8 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.0052, allocations: 79.73 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.005283, allocations: 35.84 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.005302, allocations: 8 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.00539, allocations: 51.91 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.005443, allocations: 31.86 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.005493, allocations: 31.91 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.005695, allocations: 127.4 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.005698, allocations: 0 / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005698, allocations: 0 / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005703, allocations: 0 / 381.9 MB, free: 15.08 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005349/0.006238, allocations: 0.5013 MB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.006273, allocations: 8.031 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.006334, allocations: 24.8 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.006546, allocations: 177.1 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.006565, allocations: 4.375 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.00659, allocations: 8.375 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.006787, allocations: 139.7 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.006796, allocations: 3.938 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.006809, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.006818, allocations: 3.984 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.006877, allocations: 31.92 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.007342, allocations: 0.5911 MB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.007559, allocations: 67.17 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.007597, allocations: 27.67 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.007609, allocations: 0 / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.007738, allocations: 102.7 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.00774, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002245/0.007964, allocations: 109.5 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.007997, allocations: 51.41 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.008145, allocations: 259.1 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.00816, allocations: 25.7 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.008236, allocations: 166.8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.008258, allocations: 35.72 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.008297, allocations: 31.38 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.008416, allocations: 0.5039 MB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.008445, allocations: 8 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.008492, allocations: 62.42 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.008574, allocations: 90.3 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.008577, allocations: 4 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001374/0.008715, allocations: 109.5 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.00873, allocations: 8 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008735, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.00875, allocations: 7.938 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.008821, allocations: 27.98 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.008829, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.008867, allocations: 16 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.008875, allocations: 4 kB / 385 MB, free: 11.6 MB / 362.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 8.31e-05/0.008958, allocations: 166.7 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.008979, allocations: 23.89 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.009126, allocations: 99.08 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.009131, allocations: 7.984 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.009135, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.009139, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.009254, allocations: 164.5 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009255, allocations: 0 / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.009306, allocations: 12 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009308, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.009318, allocations: 8 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009319, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009321, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.009496, allocations: 160.8 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.00951, allocations: 15.84 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.009531, allocations: 7.922 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.009562, allocations: 8 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.009598, allocations: 7.984 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.009613, allocations: 8.031 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003439/0.009957, allocations: 175.1 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009957, allocations: 0 / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.01012, allocations: 24 kB / 385.9 MB, free: 10.66 MB / 362.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.0008095/0.01093, allocations: 389.2 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.01106, allocations: 67.53 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01107, allocations: 3.938 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.01111, allocations: 31.67 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01133, allocations: 48.42 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.01179, allocations: 250.3 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.01183, allocations: 79.77 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.01188, allocations: 17.48 kB / 386.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.01192, allocations: 16.5 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01192, allocations: 0 / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of Templates: time 0.004089/0.01601, allocations: 2.064 MB / 388.9 MB, free: 7.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.278096772963181]