Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001392/0.001392, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001186/0.001186, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 1.053/1.053, allocations: 177 MB / 204.8 MB, free: 5.23 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.268/0.268, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.701e-05, allocations: 3.297 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003649/0.003686, allocations: 1.768 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.005532, allocations: 1.016 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.005678, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.0061, allocations: 83.62 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.006573, allocations: 115.5 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.006886, allocations: 79.61 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.007153, allocations: 127.5 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.007267, allocations: 11.98 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.007413, allocations: 63.81 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.00755, allocations: 55.88 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.00757, allocations: 7.938 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.007699, allocations: 43.92 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.00777, allocations: 23.91 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.007826, allocations: 23.86 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.008091, allocations: 99.66 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.008094, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008095, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.0081, allocations: 4 kB / 382.4 MB, free: 14.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006269/0.008727, allocations: 459.8 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.008783, allocations: 8.031 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.008853, allocations: 24.72 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.009109, allocations: 148.4 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.009134, allocations: 384 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.009172, allocations: 12.33 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.009332, allocations: 66.94 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.009346, allocations: 192 / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.009359, allocations: 4.359 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.009371, allocations: 7.938 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.009409, allocations: 8 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.009873, allocations: 291.8 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.01002, allocations: 59.14 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.01006, allocations: 11.69 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01008, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.01021, allocations: 76.92 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.01021, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005496/0.01076, allocations: 173.3 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.01082, allocations: 51.41 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01104, allocations: 238.7 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01106, allocations: 33.7 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.01116, allocations: 154.9 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.0112, allocations: 23.75 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.01126, allocations: 35.36 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.01145, allocations: 0.4962 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.01149, allocations: 12 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.01154, allocations: 31.36 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.01163, allocations: 59.3 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01163, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.01183, allocations: 89.56 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.01186, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01186, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.01188, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01199, allocations: 23.92 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.012, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.01204, allocations: 4 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.01205, allocations: 0 / 384.9 MB, free: 11.67 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 0.0001099/0.01216, allocations: 168.5 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.01218, allocations: 19.84 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.0124, allocations: 107.1 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01241, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01241, allocations: 384 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01242, allocations: 3.984 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.01285, allocations: 397 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.01286, allocations: 4 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.0129, allocations: 8 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.01291, allocations: 8.031 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01292, allocations: 3.984 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01292, allocations: 3.938 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01292, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.01316, allocations: 267.4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01317, allocations: 7.953 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.0132, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.01327, allocations: 4 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.01331, allocations: 7.984 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01333, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01346, allocations: 189 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01346, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.01376, allocations: 27.94 kB / 386.1 MB, free: 10.38 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.001288/0.01505, allocations: 428.9 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.01524, allocations: 55.53 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01525, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.0153, allocations: 35.61 kB / 386.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.01567, allocations: 36.09 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.0162, allocations: 236.6 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.01626, allocations: 71.33 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.01631, allocations: 21.22 kB / 387 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.01636, allocations: 20.48 kB / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01636, allocations: 0 / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.005331/0.02169, allocations: 1.874 MB / 388.9 MB, free: 7.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.362065611872822]