Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9872/0.9872, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.932e-05, allocations: 2.312 kB / 379.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002197/0.002216, allocations: 1.841 MB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.004061, allocations: 1.796 MB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.004141, allocations: 4 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.004421, allocations: 51.62 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.004724, allocations: 147.2 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.004867, allocations: 115.5 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.005053, allocations: 211.2 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.005095, allocations: 5.812 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.005227, allocations: 107.7 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.00535, allocations: 63.75 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.005371, allocations: 12 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.00551, allocations: 111.8 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.005561, allocations: 35.84 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.005604, allocations: 39.86 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.005839, allocations: 207.2 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00584, allocations: 0 / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005841, allocations: 0 / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.005845, allocations: 0 / 384 MB, free: 13.01 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.0004701/0.006315, allocations: 0.5187 MB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.00635, allocations: 8.031 kB / 384.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.006388, allocations: 24.8 kB / 384.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.006566, allocations: 184.3 kB / 384.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.006581, allocations: 8.312 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.006592, allocations: 4.375 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006743, allocations: 161.1 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.00675, allocations: 192 / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.006758, allocations: 4.375 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.006765, allocations: 3.938 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.006797, allocations: 23.91 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.006921, allocations: 136.9 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.007027, allocations: 94.14 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.007055, allocations: 31.36 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.007071, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.007191, allocations: 104.3 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.007193, allocations: 0 / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000208/0.007401, allocations: 141.4 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.00745, allocations: 140.4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.007609, allocations: 279.1 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.007624, allocations: 25.7 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.007686, allocations: 170.8 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.007719, allocations: 27.77 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.007756, allocations: 35.38 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.007873, allocations: 0.504 MB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.007894, allocations: 11.98 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.007955, allocations: 121.5 kB / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.008021, allocations: 82.69 kB / 386.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008024, allocations: 0 / 386.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001174/0.008141, allocations: 109.5 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.008153, allocations: 7.984 kB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008158, allocations: 0 / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.008171, allocations: 4 kB / 387 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.008237, allocations: 19.94 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.008242, allocations: 7.938 kB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.008288, allocations: 16.05 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.008295, allocations: 4 kB / 387 MB, free: 9.699 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.237e-05/0.008367, allocations: 164.5 kB / 387.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.008392, allocations: 23.86 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.008538, allocations: 135 kB / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.00854, allocations: 0 / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.008543, allocations: 7.984 kB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.008549, allocations: 7.938 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/0.008646, allocations: 137.1 kB / 387.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008647, allocations: 0 / 387.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.008673, allocations: 19.92 kB / 387.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008675, allocations: 4 kB / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.008681, allocations: 0 / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008683, allocations: 4 kB / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008684, allocations: 0 / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.008817, allocations: 175.8 kB / 387.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.008838, allocations: 15.91 kB / 387.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.008858, allocations: 7.984 kB / 387.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.008891, allocations: 7.938 kB / 387.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.008919, allocations: 7.984 kB / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.008931, allocations: 12 kB / 387.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.009013, allocations: 189.7 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009014, allocations: 0 / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.009194, allocations: 63.8 kB / 388 MB, free: 8.672 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.0008796/0.01007, allocations: 497.7 kB / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01018, allocations: 59.59 kB / 388.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01018, allocations: 0 / 388.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.01023, allocations: 43.58 kB / 388.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01044, allocations: 67.2 kB / 388.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.01078, allocations: 274.3 kB / 388.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.798e-05/0.01082, allocations: 71.98 kB / 389 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.01088, allocations: 34.08 kB / 389 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.011, allocations: 126.1 kB / 389.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.011, allocations: 0 / 389.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of Templates: time 0.0053/0.0163, allocations: 3.776 MB / 392.9 MB, free: 3.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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: 2.972720678895712]