Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0008191/0.0008191, allocations: 88.28 kB / 21.44 MB, free: 3.125 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.003089/0.003089, allocations: 153.7 kB / 24.69 MB, free: 9.445 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.9179/0.9179, allocations: 177 MB / 204.9 MB, free: 5.742 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.303/0.303, allocations: 34.23 MB / 295.6 MB, free: 0.6719 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.896e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.2064/0.2064, allocations: 1.714 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.208, allocations: 1.673 MB / 446.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.208, allocations: 4.406 kB / 446.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.2083, allocations: 34.36 kB / 446.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.2086, allocations: 109.5 kB / 447 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.2088, allocations: 78.92 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.2089, allocations: 117.5 kB / 447.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.209, allocations: 6.656 kB / 447.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.2091, allocations: 65.61 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.2092, allocations: 34.03 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2092, allocations: 5.594 kB / 447.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2093, allocations: 106.2 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.2094, allocations: 32.48 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.2094, allocations: 24.67 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.2096, allocations: 185.3 kB / 447.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2096, allocations: 3.562 kB / 447.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2096, allocations: 0 / 447.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2096, allocations: 7.031 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005044/0.2101, allocations: 357.5 kB / 448 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2102, allocations: 10.81 kB / 448.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.2102, allocations: 7.828 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.2104, allocations: 152.5 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2105, allocations: 3.031 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2105, allocations: 6.969 kB / 448.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2106, allocations: 112.6 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2106, allocations: 2.875 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2106, allocations: 384 / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2106, allocations: 6.406 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.2107, allocations: 31.03 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.211, allocations: 247.1 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.2111, allocations: 71.84 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.2111, allocations: 29.27 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2111, allocations: 6.812 kB / 448.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.2113, allocations: 74.44 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.2113, allocations: 0 / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004336/0.2117, allocations: 214 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2117, allocations: 87.17 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2118, allocations: 177.9 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.2118, allocations: 28.3 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.2119, allocations: 98.11 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2119, allocations: 36.34 kB / 449.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2119, allocations: 26.28 kB / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.109e-05/0.212, allocations: 321 kB / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.212, allocations: 29.3 kB / 449.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.2121, allocations: 74.7 kB / 449.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.048e-05/0.2121, allocations: 84.2 kB / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2121, allocations: 0 / 449.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001105/0.2122, allocations: 116.8 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2123, allocations: 5.875 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2123, allocations: 0 / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2123, allocations: 2.969 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.2123, allocations: 21.62 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2123, allocations: 0 / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.2124, allocations: 6.109 kB / 450.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.2124, allocations: 6.969 kB / 450.1 MB, free: 40.41 MB / 410.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 (11): * Single equations (assignments): 11 * 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.077e-05/0.2124, allocations: 126.5 kB / 450.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.2124, allocations: 17.77 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.2126, allocations: 140.6 kB / 450.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2126, allocations: 0 / 450.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2126, allocations: 2.688 kB / 450.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2126, allocations: 0 / 450.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.2128, allocations: 381.9 kB / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2128, allocations: 2.531 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.2129, allocations: 20.88 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2129, allocations: 2.719 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2129, allocations: 0 / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2129, allocations: 3.031 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2129, allocations: 0 / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.213, allocations: 240 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.213, allocations: 14.5 kB / 451 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.213, allocations: 5.969 kB / 451 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.2131, allocations: 6.812 kB / 451 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.2131, allocations: 6.125 kB / 451 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2131, allocations: 9.75 kB / 451.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.2132, allocations: 142.1 kB / 451.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2132, allocations: 0 / 451.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.2134, allocations: 46.19 kB / 451.2 MB, free: 39.6 MB / 410.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 (11): * Single equations (assignments): 9 * 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.0008649/0.2142, allocations: 0.5827 MB / 451.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.2144, allocations: 76.41 kB / 451.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2144, allocations: 0 / 451.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.2144, allocations: 37.38 kB / 451.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2146, allocations: 32.58 kB / 452 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.215, allocations: 255 kB / 452.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.215, allocations: 99.42 kB / 452.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2151, allocations: 27.09 kB / 452.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2151, allocations: 0 / 452.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002812/0.2179, allocations: 2.589 MB / 454.9 MB, free: 38.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.472275952808559]