Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001378/0.001378, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.001208/0.001208, allocations: 160.9 kB / 25.61 MB, free: 8.898 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.056/1.056, 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.1601/0.1601, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.409e-05, allocations: 3.297 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003528/0.003562, allocations: 1.752 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.005423, allocations: 0.993 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.005564, allocations: 3.938 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.005929, allocations: 39.77 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.006384, allocations: 99.47 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.006707, allocations: 79.61 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.006929, allocations: 115.6 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.00705, allocations: 4 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.007187, allocations: 63.75 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.007283, allocations: 23.92 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.007302, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.007419, allocations: 43.92 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.00748, allocations: 23.91 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.007518, allocations: 19.94 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.007701, allocations: 99.58 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007705, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007706, allocations: 4 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.00771, allocations: 0 / 383.5 MB, free: 19.27 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.0004146/0.008125, allocations: 447.8 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.008164, allocations: 8.031 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.008206, allocations: 20.83 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.008357, allocations: 154.5 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.008373, allocations: 384 / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.00839, allocations: 4.375 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.008496, allocations: 58.94 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.008507, allocations: 192 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.008515, allocations: 8.375 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.008521, allocations: 3.938 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.008549, allocations: 11.92 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.008782, allocations: 260.3 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.008869, allocations: 51.16 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.008889, allocations: 15.67 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.008903, allocations: 4 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.00901, allocations: 68.98 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.009011, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003704/0.009382, allocations: 149.7 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.009407, allocations: 51.41 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.009502, allocations: 226.8 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.009512, allocations: 29.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.009553, allocations: 154.8 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.00958, allocations: 23.78 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.009616, allocations: 31.36 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.00968, allocations: 0.4962 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.009697, allocations: 4.062 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.009723, allocations: 39.36 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.009767, allocations: 55.36 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.009768, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001106/0.009879, allocations: 93.45 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.009893, allocations: 4 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.009898, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.00991, allocations: 4 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.009982, allocations: 12 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.009986, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.01002, allocations: 7.984 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.01003, allocations: 4.031 kB / 385.9 MB, free: 16.6 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 6.276e-05/0.01009, allocations: 164.6 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.01011, allocations: 27.77 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.01024, allocations: 95.12 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01024, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01024, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01025, allocations: 4 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.01047, allocations: 357.6 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01047, allocations: 0 / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.0105, allocations: 19.97 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0105, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.01051, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01051, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01051, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.01062, allocations: 259.6 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.01063, allocations: 7.953 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.01065, allocations: 3.984 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.01069, allocations: 11.94 kB / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.01072, allocations: 7.984 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.01073, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.132e-05/0.01079, allocations: 167.1 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01079, allocations: 0 / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.01097, allocations: 31.92 kB / 387.1 MB, free: 15.37 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.0009751/0.01195, allocations: 427.6 kB / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.01206, allocations: 47.59 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01206, allocations: 0 / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.01209, allocations: 31.61 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01234, allocations: 40.03 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.01268, allocations: 215.9 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.01271, allocations: 75.19 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.01276, allocations: 9.297 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.01282, allocations: 86.19 kB / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01282, allocations: 0 / 388 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Templates: time 0.004093/0.01692, allocations: 2.079 MB / 390 MB, free: 12.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.35969321988523]