Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.001067/0.001067, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001241/0.001241, allocations: 168.4 kB / 24.91 MB, free: 8.715 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 1.034/1.034, allocations: 177 MB / 205.2 MB, free: 4.41 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.1688/0.1688, allocations: 34.87 MB / 296.6 MB, free: 13.38 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 326 MB, free: 15.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.023e-05, allocations: 2.312 kB / 326 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003846/0.003876, allocations: 1.82 MB / 327.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.005573, allocations: 0.9968 MB / 328.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.005671, allocations: 0 / 328.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.005996, allocations: 39.77 kB / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.006364, allocations: 95.47 kB / 329 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.006642, allocations: 83.59 kB / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.006857, allocations: 111.6 kB / 329.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.006956, allocations: 4 kB / 329.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.007082, allocations: 59.77 kB / 329.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.007176, allocations: 23.91 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.007194, allocations: 8 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.007305, allocations: 47.91 kB / 329.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.007358, allocations: 15.92 kB / 329.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.007399, allocations: 23.88 kB / 329.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.007604, allocations: 95.66 kB / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.007607, allocations: 0 / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007608, allocations: 4 kB / 329.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.007612, allocations: 0 / 329.5 MB, free: 12.47 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.0004396/0.008052, allocations: 320.2 kB / 329.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.008089, allocations: 11.97 kB / 329.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.008132, allocations: 8.922 kB / 329.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.008344, allocations: 151.7 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.008362, allocations: 384 / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.008382, allocations: 8.375 kB / 330 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.008514, allocations: 61.77 kB / 330 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.008524, allocations: 192 / 330 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.008533, allocations: 8.359 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.008541, allocations: 11.88 kB / 330 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.00857, allocations: 4 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.008838, allocations: 169.9 kB / 330.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.008958, allocations: 89.34 kB / 330.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.008983, allocations: 8.859 kB / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.008995, allocations: 0 / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.009114, allocations: 70.19 kB / 330.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.009115, allocations: 0 / 330.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003694/0.009484, allocations: 117.4 kB / 330.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.009519, allocations: 51.41 kB / 330.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.009661, allocations: 192.9 kB / 330.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.009679, allocations: 25.7 kB / 330.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.009718, allocations: 92.11 kB / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.009759, allocations: 23.8 kB / 330.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.009801, allocations: 25.7 kB / 330.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.009904, allocations: 330.8 kB / 331.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.009929, allocations: 10.83 kB / 331.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.009963, allocations: 21.72 kB / 331.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.01002, allocations: 44.5 kB / 331.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01002, allocations: 7.938 kB / 331.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001073/0.01013, allocations: 64.56 kB / 331.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01015, allocations: 11.94 kB / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01015, allocations: 0 / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01016, allocations: 0 / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.201e-05/0.01024, allocations: 27.92 kB / 331.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.01024, allocations: 0 / 331.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.01027, allocations: 0 / 331.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.01027, allocations: 8.406 kB / 331.4 MB, free: 10.36 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 7.156e-05/0.01034, allocations: 116.7 kB / 331.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.01037, allocations: 11.92 kB / 331.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.01051, allocations: 75.27 kB / 331.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01052, allocations: 4 kB / 331.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01052, allocations: 4 kB / 331.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01052, allocations: 3.984 kB / 331.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.01083, allocations: 291.4 kB / 331.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.01083, allocations: 3.938 kB / 331.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.01088, allocations: 15.97 kB / 331.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01088, allocations: 0 / 331.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.0109, allocations: 8 kB / 331.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.0109, allocations: 3.984 kB / 331.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0109, allocations: 0 / 331.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.01105, allocations: 211.1 kB / 332.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.01106, allocations: 11.89 kB / 332.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01109, allocations: 8 kB / 332.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.01116, allocations: 3.984 kB / 332.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.01119, allocations: 4 kB / 332.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.0112, allocations: 8 kB / 332.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.237e-05/0.01127, allocations: 47.64 kB / 332.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01127, allocations: 0 / 332.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.0115, allocations: 31.92 kB / 332.2 MB, free: 9.438 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.001395/0.01289, allocations: 0.5558 MB / 332.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.01304, allocations: 44.72 kB / 332.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01305, allocations: 0 / 332.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.01308, allocations: 21 kB / 332.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.0133, allocations: 51.03 kB / 332.9 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.01367, allocations: 219 kB / 333.1 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.01371, allocations: 71.33 kB / 333.2 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.57e-05/0.01375, allocations: 17.09 kB / 333.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.01382, allocations: 63.38 kB / 333.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01382, allocations: 0 / 333.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of Templates: time 0.003508/0.01733, allocations: 2.027 MB / 335.3 MB, free: 6.566 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.1496350010856986]