Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001325/0.001325, allocations: 84.69 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001355/0.001355, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.401/1.401, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2024/0.2024, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.376e-05, allocations: 9.234 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003955/0.003989, allocations: 1.903 MB / 442.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.006092, allocations: 1.009 MB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.006212, allocations: 4 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.006567, allocations: 39.7 kB / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.006912, allocations: 107.4 kB / 443.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.007148, allocations: 99.52 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.007393, allocations: 147.5 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.007514, allocations: 21.8 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.007658, allocations: 83.69 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.00776, allocations: 35.89 kB / 443.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.007786, allocations: 7.984 kB / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.007886, allocations: 47.92 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.007957, allocations: 27.86 kB / 443.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.008027, allocations: 35.84 kB / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.008311, allocations: 151.4 kB / 443.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.008317, allocations: 12 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008318, allocations: 0 / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.008322, allocations: 0 / 443.9 MB, free: 4.336 MB / 366.1 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.0007295/0.009052, allocations: 407 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.009096, allocations: 8.031 kB / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.009156, allocations: 16.84 kB / 444.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.009456, allocations: 170.2 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.00947, allocations: 8.375 kB / 444.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.009501, allocations: 12.36 kB / 444.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.00978, allocations: 138.4 kB / 444.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.009795, allocations: 3.938 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.00981, allocations: 0 / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.009818, allocations: 4 kB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.009987, allocations: 51.91 kB / 444.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.0106, allocations: 444.7 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.01093, allocations: 90.64 kB / 445.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.01104, allocations: 40.83 kB / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.01105, allocations: 0 / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.01126, allocations: 113 kB / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.01126, allocations: 0 / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004266/0.01168, allocations: 153.4 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.01172, allocations: 55.34 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.01195, allocations: 207.7 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01197, allocations: 29.7 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.01206, allocations: 124 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.0121, allocations: 31.73 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.01215, allocations: 33.7 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01229, allocations: 326.8 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.01239, allocations: 31.98 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.0125, allocations: 64.27 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.01271, allocations: 104.1 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01271, allocations: 0 / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002994/0.01301, allocations: 141.4 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01302, allocations: 6.656 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01303, allocations: 0 / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.01304, allocations: 8.125 kB / 446.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.01314, allocations: 23.98 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01315, allocations: 0 / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.01322, allocations: 8 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01323, allocations: 4 kB / 446.7 MB, free: 1.293 MB / 366.1 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 0.0001208/0.01335, allocations: 138.2 kB / 446.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.01337, allocations: 11.91 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.01368, allocations: 146.9 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01369, allocations: 4 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01369, allocations: 0 / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01369, allocations: 7.984 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01386, allocations: 153.2 kB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01386, allocations: 3.984 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.01393, allocations: 8 kB / 447.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01394, allocations: 4 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01395, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01395, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01395, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.01436, allocations: 200.8 kB / 447.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.01439, allocations: 11.94 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.01441, allocations: 11.92 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.01448, allocations: 8 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.01452, allocations: 7.922 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01454, allocations: 4 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.01468, allocations: 147.2 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01468, allocations: 0 / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.01491, allocations: 31.92 kB / 447.6 MB, free: 356 kB / 366.1 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.001548/0.01646, allocations: 437.9 kB / 448 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01672, allocations: 83.89 kB / 448.1 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01672, allocations: 0 / 448.1 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1762/0.1929, allocations: 34.62 kB / 448.1 MB, free: 21.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1933, allocations: 40.91 kB / 448.1 MB, free: 21.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.194, allocations: 264.1 kB / 448.4 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.194, allocations: 105.3 kB / 448.5 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.009e-05/0.1941, allocations: 19.3 kB / 448.5 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1942, allocations: 18.53 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1942, allocations: 0 / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of Templates: time 0.006104/0.2003, allocations: 2.034 MB / 450.6 MB, free: 21.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.543188933283091]