Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009865/0.0009865, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001123/0.001123, allocations: 166.2 kB / 24.99 MB, free: 8.219 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.064/1.064, allocations: 177 MB / 205.2 MB, free: 5.52 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.2582/0.2582, allocations: 34.85 MB / 296.6 MB, free: 0.5273 MB / 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.476e-05, allocations: 2.312 kB / 378.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002434/0.002469, allocations: 1.779 MB / 380.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003778, allocations: 1.012 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003882, allocations: 0 / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.004255, allocations: 95.61 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.004704, allocations: 115.4 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.005015, allocations: 87.53 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.005285, allocations: 135.6 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.005447, allocations: 8 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.005585, allocations: 71.8 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.005703, allocations: 59.86 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.00572, allocations: 4 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.005834, allocations: 59.92 kB / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.005893, allocations: 31.86 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.005938, allocations: 23.91 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.006138, allocations: 119.5 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006142, allocations: 7.984 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006143, allocations: 0 / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006149, allocations: 0 / 382.4 MB, free: 14.7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004934/0.006642, allocations: 463.8 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.006681, allocations: 8.031 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.006739, allocations: 20.84 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.006936, allocations: 169.1 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.006957, allocations: 384 / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.00698, allocations: 4.375 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.007125, allocations: 66.92 kB / 383.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.007136, allocations: 4.188 kB / 383.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007149, allocations: 4.359 kB / 383.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.007161, allocations: 7.938 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.007206, allocations: 15.98 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.007567, allocations: 303.6 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.007807, allocations: 62.97 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.007846, allocations: 15.81 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.007863, allocations: 4 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.008005, allocations: 72.97 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.008007, allocations: 4 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006353/0.008642, allocations: 221.2 kB / 383.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.008686, allocations: 51.41 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.008853, allocations: 259.1 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.008871, allocations: 33.69 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.008935, allocations: 158.9 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.008969, allocations: 35.77 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.00901, allocations: 39.36 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.009134, allocations: 0.5001 MB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.009164, allocations: 19.98 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.009206, allocations: 39.36 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.009282, allocations: 79.22 kB / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009283, allocations: 0 / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001323/0.009415, allocations: 105.6 kB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.009428, allocations: 4 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.009433, allocations: 3.938 kB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.009445, allocations: 0 / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.009501, allocations: 23.98 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009507, allocations: 4.031 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.009536, allocations: 4 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.009542, allocations: 4 kB / 385.2 MB, free: 11.7 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 (13): * Single equations (assignments): 13 * 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.267e-05/0.009615, allocations: 168.5 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.009638, allocations: 19.91 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.009818, allocations: 131.7 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009821, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.009825, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.00983, allocations: 4 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.01016, allocations: 456.5 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01017, allocations: 3.984 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.0102, allocations: 16 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.0102, allocations: 0 / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.01021, allocations: 4 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01021, allocations: 0 / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01021, allocations: 0 / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01038, allocations: 291 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.0104, allocations: 15.91 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01042, allocations: 4 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.01046, allocations: 8.062 kB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.0105, allocations: 15.92 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.01051, allocations: 7.984 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.01061, allocations: 179.2 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.0108, allocations: 31.92 kB / 386.5 MB, free: 10.28 MB / 362.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 (12): * Single equations (assignments): 10 * 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.0009918/0.01179, allocations: 478.1 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01193, allocations: 63.59 kB / 387.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01193, allocations: 3.938 kB / 387.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.01198, allocations: 43.81 kB / 387.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01222, allocations: 35.02 kB / 387.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.01259, allocations: 281.6 kB / 387.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.01263, allocations: 71.33 kB / 387.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.01268, allocations: 20.62 kB / 387.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.01271, allocations: 16.5 kB / 387.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01271, allocations: 0 / 387.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of Templates: time 0.003747/0.01646, allocations: 2.142 MB / 389.7 MB, free: 7.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.216610898030922]