Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0009607/0.0009607, 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.0009418/0.0009418, allocations: 165.8 kB / 24.99 MB, free: 8.336 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2734/0.2734, allocations: 34.26 MB / 296 MB, free: 0.7812 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.532e-05, allocations: 9.547 kB / 378.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002462/0.002488, allocations: 1.719 MB / 379.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003842, allocations: 0.9897 MB / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.003928, allocations: 0 / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.004269, allocations: 51.75 kB / 380.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.004688, allocations: 111.4 kB / 381 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.004899, allocations: 67.69 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.005095, allocations: 115.5 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.005151, allocations: 4.234 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.005265, allocations: 51.89 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.005365, allocations: 35.89 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005383, allocations: 8 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-05/0.005471, allocations: 35.92 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.005532, allocations: 27.84 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.005573, allocations: 11.94 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.005753, allocations: 87.67 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005756, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005757, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.005762, allocations: 0 / 381.4 MB, free: 15.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005081/0.00627, allocations: 436 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.006309, allocations: 8.031 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.006365, allocations: 20.89 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.006558, allocations: 144.4 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.006578, allocations: 384 / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.006588, allocations: 384 / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.006726, allocations: 70.86 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.006735, allocations: 3.938 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006745, allocations: 0 / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.006753, allocations: 0 / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.006786, allocations: 7.938 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.006956, allocations: 148.5 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007061, allocations: 47.11 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.007093, allocations: 19.67 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.007107, allocations: 0 / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.007215, allocations: 68.98 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.007216, allocations: 0 / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002014/0.007418, allocations: 85.56 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.007452, allocations: 51.41 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.007587, allocations: 226.6 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.007603, allocations: 25.7 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.007662, allocations: 158.8 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.007703, allocations: 15.89 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.007741, allocations: 27.36 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.007902, allocations: 0.4962 MB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.007931, allocations: 4 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.007962, allocations: 23.62 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.008022, allocations: 47.36 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.008025, allocations: 0 / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.973e-05/0.008125, allocations: 69.58 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.008138, allocations: 12.03 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008144, allocations: 3.938 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.008156, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.008228, allocations: 8 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.008236, allocations: 7.984 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.008269, allocations: 3.953 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.008277, allocations: 4 kB / 383.6 MB, free: 13.18 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 (7): * Single equations (assignments): 7 * 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.862e-05/0.008356, allocations: 164.5 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.008372, allocations: 7.953 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.008516, allocations: 90.92 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008518, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.008523, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008527, allocations: 0 / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.008625, allocations: 140.6 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.008629, allocations: 3.984 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.008652, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008654, allocations: 3.938 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.008661, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.008667, allocations: 11.88 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.008669, allocations: 3.984 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.008789, allocations: 124.5 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.008807, allocations: 11.89 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008823, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.008849, allocations: 7.938 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.008886, allocations: 7.984 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.008901, allocations: 4 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.743e-05/0.008979, allocations: 163.9 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008979, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.009134, allocations: 12 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001018/0.01015, allocations: 387.6 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.01028, allocations: 39.61 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01028, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.01031, allocations: 23.69 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01052, allocations: 45.3 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.0109, allocations: 190.1 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.01095, allocations: 67.33 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01098, allocations: 8.5 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.01102, allocations: 16.48 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.482e-06/0.01102, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003509/0.01453, allocations: 1.652 MB / 386.8 MB, free: 10.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.2367309608962387]