Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001182/0.001182, 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.001395/0.001395, allocations: 165.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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.2599/0.2599, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 376.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.646e-05, allocations: 2.312 kB / 376.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002166/0.002182, allocations: 1.766 MB / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003482, allocations: 0.9975 MB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.003545, allocations: 3.938 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.003754, allocations: 39.77 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.003966, allocations: 103.5 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.004086, allocations: 79.61 kB / 379.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.004221, allocations: 107.6 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.00429, allocations: 11.98 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.004356, allocations: 43.84 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.004417, allocations: 31.89 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.00443, allocations: 4 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.004498, allocations: 47.86 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.004537, allocations: 23.92 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.00457, allocations: 19.92 kB / 379.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004711, allocations: 107.6 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004713, allocations: 0 / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004714, allocations: 0 / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.004717, allocations: 0 / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003802/0.005097, allocations: 443.9 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.005127, allocations: 12.03 kB / 379.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.005164, allocations: 12.84 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005306, allocations: 157 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.005322, allocations: 8.375 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.005336, allocations: 384 / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.005434, allocations: 66.94 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005444, allocations: 3.938 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.005452, allocations: 3.984 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005458, allocations: 0 / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.081e-05/0.005489, allocations: 11.98 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.00573, allocations: 287.8 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.005816, allocations: 51.11 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.005846, allocations: 27.61 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.005855, allocations: 3.938 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.277e-05/0.005937, allocations: 69.05 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.005938, allocations: 0 / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004726/0.006411, allocations: 149.4 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.006463, allocations: 55.41 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.006645, allocations: 242.3 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.006661, allocations: 25.7 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.006735, allocations: 154.9 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.006767, allocations: 27.78 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.006813, allocations: 31.36 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.00696, allocations: 0.4923 MB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.006998, allocations: 19.98 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.007044, allocations: 27.38 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.007124, allocations: 55.3 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007125, allocations: 4.375 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.007274, allocations: 89.53 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007286, allocations: 4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00729, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.007303, allocations: 4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.007392, allocations: 23.95 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007396, allocations: 4.156 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.007435, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.007445, allocations: 8 kB / 382 MB, free: 14.72 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 (10): * Single equations (assignments): 10 * 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.806e-05/0.007533, allocations: 163.8 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.007561, allocations: 19.94 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.007748, allocations: 103.1 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.007752, allocations: 4 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007755, allocations: 0 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.00776, allocations: 3.984 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.008174, allocations: 396.9 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.008177, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.008217, allocations: 8 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.008221, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.008231, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.008234, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.008238, allocations: 7.984 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.008458, allocations: 263.4 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.008476, allocations: 11.91 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.008499, allocations: 0 / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.008576, allocations: 4.031 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.00862, allocations: 15.92 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.008636, allocations: 4 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.008761, allocations: 172.1 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008761, allocations: 0 / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.009064, allocations: 27.92 kB / 383.2 MB, free: 13.45 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: 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 (9): * Single equations (assignments): 7 * 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.00131/0.01037, allocations: 438 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01052, allocations: 55.59 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01052, allocations: 4.062 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.01057, allocations: 35.61 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.0109, allocations: 24.28 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.0113, allocations: 222 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.01135, allocations: 71.33 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.501e-05/0.01139, allocations: 16.95 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.01143, allocations: 16.56 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01143, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004471/0.0159, allocations: 1.873 MB / 385.9 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.2262897819746286]