Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001467/0.001467, allocations: 100.2 kB / 20.96 MB, free: 3.469 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.001684/0.001684, allocations: 156.9 kB / 24.27 MB, free: 172 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.551/1.551, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.372/0.372, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.378e-05/4.623e-05, allocations: 8.5 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004757/0.004803, allocations: 1.719 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.007372, allocations: 0.9775 MB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.007466, allocations: 0 / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.007888, allocations: 59.62 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.008406, allocations: 103.5 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.008743, allocations: 79.66 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.009024, allocations: 111.6 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.009146, allocations: 11.97 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.009293, allocations: 43.91 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.009409, allocations: 27.86 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.009436, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.009589, allocations: 47.91 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.009685, allocations: 31.91 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.009765, allocations: 27.81 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.01012, allocations: 131.5 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01013, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01013, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.01014, allocations: 4 kB / 380.7 MB, free: 15.42 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.0008132/0.01095, allocations: 377.3 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.011, allocations: 8.031 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.01108, allocations: 16.84 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.01153, allocations: 165.4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.01155, allocations: 4.375 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.01159, allocations: 4.375 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.01184, allocations: 62.22 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01186, allocations: 4.141 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.01187, allocations: 4.375 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.01188, allocations: 3.938 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01198, allocations: 19.98 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.01251, allocations: 240.6 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.01277, allocations: 54.61 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/0.01285, allocations: 20.84 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.01288, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.01308, allocations: 67.33 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.01308, allocations: 8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008221/0.01391, allocations: 193.2 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.01397, allocations: 55.34 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.01442, allocations: 293.4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.01445, allocations: 25.7 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01459, allocations: 120.1 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.01464, allocations: 27.83 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.0147, allocations: 21.72 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.01496, allocations: 330.8 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.01505, allocations: 23.98 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.01516, allocations: 41.7 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.01534, allocations: 49.72 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01534, allocations: 4 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003124/0.01565, allocations: 113.5 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.01568, allocations: 8 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01568, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.01571, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01584, allocations: 23.92 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01585, allocations: 8.188 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.01592, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.01593, allocations: 4 kB / 383 MB, free: 12.88 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.0001803/0.01611, allocations: 137.8 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.01617, allocations: 23.83 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.01656, allocations: 143.1 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01657, allocations: 4 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01657, allocations: 384 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01658, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/0.01729, allocations: 362.9 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.0173, allocations: 4 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.01736, allocations: 15.98 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01736, allocations: 0 / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01738, allocations: 0 / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.01739, allocations: 4 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01739, allocations: 0 / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.01779, allocations: 228.2 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.01782, allocations: 11.91 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.01785, allocations: 0 / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01796, allocations: 8.031 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.01802, allocations: 19.86 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.01804, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003253/0.01837, allocations: 219.5 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01837, allocations: 0 / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004454/0.01881, allocations: 24 kB / 384.2 MB, free: 11.63 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.003198/0.02201, allocations: 479.8 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.02234, allocations: 67.8 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02234, allocations: 0 / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.02246, allocations: 23.98 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.02307, allocations: 31.97 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/0.02396, allocations: 318 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.02415, allocations: 113 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.474e-05/0.02424, allocations: 21.27 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.0243, allocations: 16.5 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.0243, allocations: 0 / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007948/0.03225, allocations: 1.897 MB / 387.1 MB, free: 8.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.939888859982602]