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.001144/0.001144, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001381/0.001381, 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.99/0.99, allocations: 177.1 MB / 205 MB, free: 5.629 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.2676/0.2676, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.563e-06/1.563e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.327e-05, allocations: 6.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002767/0.00279, allocations: 1.954 MB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004444, allocations: 1.048 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004547, allocations: 7.938 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.004872, allocations: 43.64 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.005242, allocations: 103.4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.005499, allocations: 95.62 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.005725, allocations: 155.5 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.005837, allocations: 17.75 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.005956, allocations: 79.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.006053, allocations: 31.91 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.006075, allocations: 8 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.006185, allocations: 51.84 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.006248, allocations: 31.84 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.006308, allocations: 31.86 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.006557, allocations: 127.5 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006559, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00656, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.006564, allocations: 0 / 381.9 MB, free: 14.77 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.000523/0.007087, allocations: 0.5013 MB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.007123, allocations: 12.03 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.007183, allocations: 24.8 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.007382, allocations: 173.1 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007401, allocations: 4.375 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.007427, allocations: 12.36 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.007613, allocations: 142.6 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.007621, allocations: 3.938 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.007632, allocations: 8 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.00764, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.007694, allocations: 35.91 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.008161, allocations: 0.5756 MB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.008363, allocations: 79.03 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.0084, allocations: 27.67 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.008416, allocations: 0 / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.008538, allocations: 98.75 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.008539, allocations: 0 / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002194/0.008759, allocations: 117.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.008787, allocations: 55.34 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.008932, allocations: 243.1 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.008947, allocations: 29.7 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.009019, allocations: 166.8 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.009042, allocations: 35.73 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.009085, allocations: 35.36 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.009198, allocations: 0.5 MB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.009229, allocations: 15.98 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.009278, allocations: 66.42 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.009357, allocations: 78.38 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.009359, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000137/0.009496, allocations: 117.4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.009509, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009515, allocations: 8.125 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.009529, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.009597, allocations: 19.98 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.009602, allocations: 4 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.009638, allocations: 19.92 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.009645, allocations: 4 kB / 385.1 MB, free: 11.29 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 7.487e-05/0.00972, allocations: 170.5 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.00974, allocations: 15.91 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.009895, allocations: 115 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009897, allocations: 4 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.009901, allocations: 0 / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009904, allocations: 0 / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01002, allocations: 164.5 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01002, allocations: 0 / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.01008, allocations: 15.98 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01008, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01009, allocations: 3.938 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01009, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.01009, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.01027, allocations: 160.8 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.01029, allocations: 19.88 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.0103, allocations: 8 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.01033, allocations: 4 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.01037, allocations: 3.984 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01038, allocations: 11.98 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.01046, allocations: 167.2 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01046, allocations: 0 / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.01062, allocations: 31.92 kB / 385.9 MB, free: 10.35 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.0008459/0.01146, allocations: 395.1 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.01159, allocations: 55.59 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01159, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.01163, allocations: 39.86 kB / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01184, allocations: 42.95 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.01225, allocations: 250 kB / 386.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.0123, allocations: 67.84 kB / 386.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.01235, allocations: 25.47 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.01239, allocations: 24.48 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01239, allocations: 4 kB / 386.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of Templates: time 0.00421/0.0166, allocations: 2.049 MB / 388.9 MB, free: 7.516 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.274006584659219]