Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.00112/0.00112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.00257, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001035/0.001035, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.00235, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9699/0.9699, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08908/1.059, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.2545/0.2545, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02522/0.2797, allocations: 13.24 MB / 292.6 MB, free: 6.48 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.322e-05, allocations: 3.516 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00239/0.002403, allocations: 2.289 MB / 296.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.004266, allocations: 1.337 MB / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.004451, allocations: 7.938 kB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.004753, allocations: 123.3 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.00515, allocations: 262.7 kB / 298 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.005491, allocations: 187.5 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.005907, allocations: 462.5 kB / 298.6 MB, free: 440 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.006017, allocations: 41.25 kB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.006418, allocations: 432.2 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.006559, allocations: 139.5 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.006587, allocations: 20 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.006705, allocations: 71.92 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.006796, allocations: 111.6 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.00687, allocations: 79.62 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.007174, allocations: 330.5 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.00719, allocations: 0 / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007191, allocations: 0 / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.007207, allocations: 0 / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.003979/0.01119, allocations: 0.8106 MB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.01123, allocations: 12.92 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.01132, allocations: 48.88 kB / 300.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.01174, allocations: 330.5 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.01177, allocations: 12.36 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.0118, allocations: 16.38 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.01208, allocations: 177 kB / 301.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.0121, allocations: 8.141 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.01211, allocations: 4.375 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.01212, allocations: 7.938 kB / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.01222, allocations: 59.2 kB / 301.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.0128, allocations: 0.5456 MB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.0132, allocations: 373.5 kB / 302.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.01327, allocations: 55.55 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.01329, allocations: 7.984 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.01352, allocations: 179.1 kB / 302.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.01352, allocations: 0 / 302.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001211/0.01473, allocations: 0.6036 MB / 303 MB, free: 11.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.0148, allocations: 144.4 kB / 303.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.01529, allocations: 0.568 MB / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.01532, allocations: 37.7 kB / 303.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.01541, allocations: 158.2 kB / 303.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.01552, allocations: 142.8 kB / 304.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.01561, allocations: 78.11 kB / 304.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01574, allocations: 378.6 kB / 304.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.01581, allocations: 39.81 kB / 304.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01592, allocations: 119.8 kB / 304.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.01615, allocations: 209.6 kB / 304.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01615, allocations: 0 / 304.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003339/0.01649, allocations: 251 kB / 305.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01651, allocations: 8 kB / 305.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01651, allocations: 0 / 305.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01653, allocations: 4 kB / 305.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.01679, allocations: 99.83 kB / 305.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.01679, allocations: 4.125 kB / 305.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.01692, allocations: 23.98 kB / 305.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.01694, allocations: 8.234 kB / 305.3 MB, free: 9.438 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001485/0.01709, allocations: 151 kB / 305.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.01716, allocations: 51.89 kB / 305.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.01768, allocations: 288.6 kB / 305.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.01768, allocations: 8 kB / 305.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01769, allocations: 0 / 305.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.01769, allocations: 3.984 kB / 305.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.01849, allocations: 1.053 MB / 306.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.01849, allocations: 4 kB / 306.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01862, allocations: 75.91 kB / 306.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.01871, allocations: 75.55 kB / 307 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.01872, allocations: 7.938 kB / 307 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.01874, allocations: 19.98 kB / 307 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.01874, allocations: 8.25 kB / 307 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.01875, allocations: 7.938 kB / 307 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.0191, allocations: 0.7593 MB / 307.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.01914, allocations: 15.98 kB / 307.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.01929, allocations: 19.94 kB / 307.8 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.01934, allocations: 43.92 kB / 307.8 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.01937, allocations: 23.94 kB / 307.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.01958, allocations: 295.4 kB / 308.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01958, allocations: 0 / 308.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.01991, allocations: 87.94 kB / 308.2 MB, free: 6.344 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001509/0.02142, allocations: 0.7244 MB / 309 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.02163, allocations: 193 kB / 309.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.02165, allocations: 8.25 kB / 309.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.02174, allocations: 125.5 kB / 309.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.02225, allocations: 175.9 kB / 309.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.02321, allocations: 0.923 MB / 310.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.0233, allocations: 150.7 kB / 310.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.02342, allocations: 83.23 kB / 310.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.02358, allocations: 143.2 kB / 310.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02358, allocations: 0 / 310.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Templates: time 0.007892/0.03148, allocations: 6.367 MB / 317.1 MB, free: 13.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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: 2.9144657207652926]