Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.000917/0.000917, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009605/0.0009605, allocations: 161 kB / 24.56 MB, free: 16 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 0.9937/0.9937, allocations: 177.1 MB / 205 MB, free: 5.648 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.2697/0.2697, allocations: 34.26 MB / 295.7 MB, free: 0.6758 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 378.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.773e-05, allocations: 2.312 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002508/0.002535, allocations: 1.77 MB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003778, allocations: 1.017 MB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.003861, allocations: 0 / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.004185, allocations: 95.56 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.004523, allocations: 119.4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.004734, allocations: 87.59 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.004915, allocations: 127.6 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.005004, allocations: 4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.753e-05/0.005102, allocations: 79.73 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.0052, allocations: 67.86 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.005216, allocations: 4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.005313, allocations: 51.92 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.005367, allocations: 35.84 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.005406, allocations: 19.92 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.005594, allocations: 127.5 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005596, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005597, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005603, allocations: 3.984 kB / 381.7 MB, free: 14.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004634/0.006066, allocations: 463.8 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006102, allocations: 12.03 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.006148, allocations: 16.84 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.00631, allocations: 161.2 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006327, allocations: 4.375 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.006353, allocations: 8.359 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.006474, allocations: 70.86 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.006485, allocations: 7.938 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006495, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.006502, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.006539, allocations: 15.98 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.006853, allocations: 299.7 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.007028, allocations: 66.91 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.007059, allocations: 15.69 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.007074, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.766e-05/0.007172, allocations: 77.14 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.007173, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000514/0.007687, allocations: 225.2 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.007715, allocations: 55.41 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.007871, allocations: 259.1 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007887, allocations: 33.62 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.007945, allocations: 154.9 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.007976, allocations: 39.69 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.008012, allocations: 35.36 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.008132, allocations: 0.5 MB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.008166, allocations: 27.98 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.008207, allocations: 39.36 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.008275, allocations: 59.38 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.008276, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001272/0.008403, allocations: 117.6 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.008415, allocations: 4 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.00842, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.008434, allocations: 4 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.008492, allocations: 23.92 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.008497, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.008526, allocations: 8 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.008534, allocations: 4 kB / 384.5 MB, free: 11.92 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 (13): * Single equations (assignments): 13 * 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 7.759e-05/0.008612, allocations: 172.5 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.00863, allocations: 15.91 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.008807, allocations: 135 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.00881, allocations: 4 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.008814, allocations: 0 / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008817, allocations: 0 / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.00914, allocations: 440.6 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.009143, allocations: 7.984 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.009175, allocations: 15.94 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009178, allocations: 4.062 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.009188, allocations: 8 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00919, allocations: 0 / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.009192, allocations: 7.938 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.009354, allocations: 287.1 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.009366, allocations: 11.91 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.009383, allocations: 4 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.009424, allocations: 4 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.009457, allocations: 11.92 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.009478, allocations: 7.984 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.009563, allocations: 183.2 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009564, allocations: 0 / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.009757, allocations: 35.92 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009895/0.01075, allocations: 485.2 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01088, allocations: 79.41 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01088, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.01093, allocations: 47.59 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01115, allocations: 27.98 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.01152, allocations: 265.4 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.01156, allocations: 71.33 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.0116, allocations: 24.81 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.01164, allocations: 20.5 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01164, allocations: 7.938 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of Templates: time 0.003623/0.01526, allocations: 2.126 MB / 389 MB, free: 7.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.1465765750035644]