Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001462/0.001462, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001478/0.001478, allocations: 166 kB / 24.82 MB, free: 9.266 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.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2523/0.2523, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.189e-05, allocations: 6.25 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003661/0.003693, allocations: 1.832 MB / 378.4 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.005731, allocations: 1.068 MB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.005888, allocations: 0 / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.006525, allocations: 307 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.007211, allocations: 255 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.007599, allocations: 107.6 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.008021, allocations: 271.2 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.008078, allocations: 5.812 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.008357, allocations: 155.6 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.008624, allocations: 200 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.008648, allocations: 8 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.008751, allocations: 51.91 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.008876, allocations: 136.5 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.008954, allocations: 75.66 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.009259, allocations: 282.9 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.009263, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009264, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.00927, allocations: 0 / 381.3 MB, free: 15.56 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.0007881/0.01006, allocations: 0.7784 MB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.0101, allocations: 8.031 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.01018, allocations: 52.61 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.0105, allocations: 316.6 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01052, allocations: 12.38 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.01053, allocations: 4.359 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.01067, allocations: 98.27 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01068, allocations: 3.938 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.01069, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.0107, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.01073, allocations: 19.92 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.01094, allocations: 212.8 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.01107, allocations: 98.2 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.0111, allocations: 35.3 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.01112, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.01124, allocations: 104.4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.01124, allocations: 0 / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002539/0.01149, allocations: 169.2 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.01154, allocations: 89.03 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.01197, allocations: 0.6742 MB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.01198, allocations: 29.7 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.01213, allocations: 314.7 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.01217, allocations: 27.83 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.01221, allocations: 27.38 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.01243, allocations: 0.5664 MB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.01247, allocations: 11.98 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.01251, allocations: 54.72 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.01258, allocations: 66.67 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01258, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001526/0.01274, allocations: 153.2 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01275, allocations: 4 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01275, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01277, allocations: 7.938 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.01285, allocations: 24.55 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.01286, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.01291, allocations: 15.94 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.01292, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001044/0.01302, allocations: 169.2 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.01308, allocations: 67.55 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.01333, allocations: 153.8 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.01334, allocations: 7.938 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01334, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01334, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.01353, allocations: 233 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01353, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.01356, allocations: 11.94 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01357, allocations: 3.984 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.01357, allocations: 7.984 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01358, allocations: 4 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01358, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.01374, allocations: 207.7 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.01379, allocations: 55.66 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.01382, allocations: 7.984 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.01386, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.0139, allocations: 19.86 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01391, allocations: 4 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.01415, allocations: 438.6 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01415, allocations: 0 / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01434, allocations: 48 kB / 386.6 MB, free: 9.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008323/0.01517, allocations: 389.6 kB / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01529, allocations: 63.59 kB / 387.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01529, allocations: 0 / 387.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.01533, allocations: 43.95 kB / 387.1 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01561, allocations: 84.44 kB / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.01624, allocations: 0.6364 MB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.307e-05/0.01632, allocations: 128.2 kB / 387.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.431e-05/0.01639, allocations: 46.92 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.0165, allocations: 118.2 kB / 388.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0165, allocations: 4 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of Templates: time 0.00645/0.02295, allocations: 4.299 MB / 392.4 MB, free: 4.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.1010571271181107]