Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001153/0.001153, allocations: 84.25 kB / 22.21 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.001525/0.001525, allocations: 165.2 kB / 25.61 MB, free: 8.922 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.112/1.112, allocations: 177 MB / 205.9 MB, free: 4.426 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.1834/0.1834, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.965e-05, allocations: 4 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002445/0.002485, allocations: 1.789 MB / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003794, allocations: 1.001 MB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003897, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.004325, allocations: 107.6 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.004651, allocations: 131.4 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.004849, allocations: 83.66 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005029, allocations: 143.5 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.005148, allocations: 17.58 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005253, allocations: 71.8 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.005362, allocations: 71.86 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.005378, allocations: 8 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.005482, allocations: 63.84 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.00554, allocations: 39.84 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.00558, allocations: 27.92 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005793, allocations: 135.4 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005796, allocations: 0 / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005798, allocations: 0 / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005802, allocations: 0 / 383.8 MB, free: 18.95 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004655/0.006268, allocations: 499.5 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.006303, allocations: 8.031 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.006348, allocations: 20.84 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.006507, allocations: 173.2 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.006526, allocations: 4.375 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.006547, allocations: 8.375 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.006675, allocations: 70.92 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.006686, allocations: 192 / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.006695, allocations: 384 / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006702, allocations: 3.938 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.00675, allocations: 25.98 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.007039, allocations: 292.2 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.007211, allocations: 75 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.007238, allocations: 19.67 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.007251, allocations: 4 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.007358, allocations: 77.06 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.007359, allocations: 0 / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005466/0.007906, allocations: 237.5 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.007935, allocations: 55.41 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.008064, allocations: 266.7 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.008077, allocations: 33.7 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.008126, allocations: 174.8 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.008161, allocations: 47.62 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.008206, allocations: 35.36 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.008264, allocations: 0.5001 MB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.008291, allocations: 19.98 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.008331, allocations: 49.38 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.008405, allocations: 78.11 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.008406, allocations: 0 / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001544/0.00856, allocations: 129.5 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008574, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.00858, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.008591, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.008676, allocations: 27.98 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.00868, allocations: 0 / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.008718, allocations: 11.98 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.008727, allocations: 4 kB / 386.7 MB, free: 15.83 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 (16): * Single equations (assignments): 16 * 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 6.927e-05/0.008796, allocations: 168.5 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.008822, allocations: 23.86 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.009033, allocations: 153.1 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.009036, allocations: 0 / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.009039, allocations: 4 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.009042, allocations: 112 / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.009405, allocations: 465 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.009408, allocations: 4 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.009464, allocations: 23.98 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.009469, allocations: 4 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.009477, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.00948, allocations: 8.062 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009482, allocations: 0 / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.009653, allocations: 307 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.009672, allocations: 19.84 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.009696, allocations: 4 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.009765, allocations: 11.98 kB / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.009798, allocations: 11.92 kB / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.009815, allocations: 8 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.009885, allocations: 181.4 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009885, allocations: 0 / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.01015, allocations: 43.92 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001294/0.01144, allocations: 477.4 kB / 388.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01159, allocations: 82.25 kB / 388.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01159, allocations: 4.062 kB / 388.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.01164, allocations: 51.58 kB / 388.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.01196, allocations: 30.36 kB / 388.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.01237, allocations: 311.7 kB / 389 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.01242, allocations: 83.62 kB / 389.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.01248, allocations: 29.59 kB / 389.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.01256, allocations: 106.1 kB / 389.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01256, allocations: 0 / 389.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of Templates: time 0.004779/0.01734, allocations: 2.625 MB / 391.9 MB, free: 10.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.5364635759033263]