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.0009844/0.0009844, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001743/0.001743, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9642/0.9642, allocations: 177 MB / 205.9 MB, free: 4.449 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.1465/0.1465, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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 1.242e-06/1.242e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.523e-05, allocations: 4.141 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.005728/0.005753, allocations: 1.749 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.007037, allocations: 1.005 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.007121, allocations: 3.938 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.01043, allocations: 83.62 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.0107, allocations: 119.5 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.01086, allocations: 79.59 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.011, allocations: 115.6 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.01108, allocations: 4 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.01116, allocations: 75.73 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.01124, allocations: 55.88 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.01125, allocations: 4 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.01133, allocations: 43.92 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.01137, allocations: 27.91 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.0114, allocations: 23.86 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.01155, allocations: 103.7 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01156, allocations: 0 / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01156, allocations: 0 / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.01156, allocations: 0 / 383.6 MB, free: 19.16 MB / 314.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.0003429/0.0119, allocations: 463.7 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01193, allocations: 12.03 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.01197, allocations: 12.89 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.01209, allocations: 164.3 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.01211, allocations: 4.375 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.01212, allocations: 4.375 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.01222, allocations: 58.94 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01223, allocations: 192 / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.01223, allocations: 384 / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01224, allocations: 3.938 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.01227, allocations: 19.92 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.01247, allocations: 260.4 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.01256, allocations: 51.17 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.01258, allocations: 15.67 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.01259, allocations: 0 / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.801e-05/0.01267, allocations: 72.97 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.01267, allocations: 0 / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002987/0.01297, allocations: 141.4 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.01299, allocations: 55.41 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.01309, allocations: 240.1 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.0131, allocations: 29.7 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.01313, allocations: 158.8 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003022/0.01616, allocations: 27.78 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.01619, allocations: 27.38 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.01624, allocations: 0.5001 MB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.01627, allocations: 11.98 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.0163, allocations: 31.72 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.01634, allocations: 47.38 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01635, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001126/0.01646, allocations: 97.5 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01647, allocations: 9.719 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01647, allocations: 0 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.01648, allocations: 0 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.01655, allocations: 15.98 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01655, allocations: 4 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.01659, allocations: 0 / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.0166, allocations: 4 kB / 386.1 MB, free: 16.44 MB / 314.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 5.247e-05/0.01665, allocations: 170.5 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01667, allocations: 27.81 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.01681, allocations: 103.1 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01682, allocations: 0 / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01682, allocations: 0 / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01682, allocations: 0 / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.01708, allocations: 365.5 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01708, allocations: 0 / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.01712, allocations: 15.92 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01712, allocations: 4 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.01713, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01713, allocations: 4.031 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01713, allocations: 4 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.01725, allocations: 251.4 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.01727, allocations: 11.95 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.01729, allocations: 4 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.01735, allocations: 7.969 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.01738, allocations: 4 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.0174, allocations: 11.98 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.179e-05/0.01747, allocations: 169.6 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01747, allocations: 4 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01777, allocations: 27.98 kB / 387.2 MB, free: 15.2 MB / 314.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.001/0.01877, allocations: 432.7 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.977e-05/0.01886, allocations: 47.61 kB / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01886, allocations: 0 / 387.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.01889, allocations: 27.61 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.02218, allocations: 35.91 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.02249, allocations: 230.7 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.02252, allocations: 75.19 kB / 388.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.02256, allocations: 12.97 kB / 388.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.02262, allocations: 94.12 kB / 388.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of SimCode: time 4.8e-07/0.02262, allocations: 0 / 388.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of Templates: time 0.009758/0.03238, allocations: 2.067 MB / 390.2 MB, free: 12.33 MB / 314.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.3744367510080338]