Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009714/0.0009714, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001064/0.001064, allocations: 169.5 kB / 24.91 MB, free: 8.773 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.9494/0.9494, allocations: 177 MB / 205.2 MB, free: 5.453 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.2646/0.2646, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.427e-05, allocations: 4.984 kB / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003221/0.003245, allocations: 1.759 MB / 327.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.004939, allocations: 1.017 MB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.005036, allocations: 0 / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.005308, allocations: 43.7 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.005651, allocations: 95.55 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005889, allocations: 83.53 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.006061, allocations: 108.4 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.006129, allocations: 11.97 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.006231, allocations: 55.78 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.006302, allocations: 27.89 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.006316, allocations: 8 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.00641, allocations: 43.92 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.006451, allocations: 15.94 kB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.006489, allocations: 27.84 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.006664, allocations: 95.66 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006665, allocations: 8 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006666, allocations: 0 / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.006669, allocations: 0 / 329.4 MB, free: 3.656 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00043/0.007099, allocations: 325.5 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.007136, allocations: 12.03 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.007172, allocations: 8.922 kB / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.007347, allocations: 150.1 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.007364, allocations: 384 / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.007385, allocations: 4.375 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.007503, allocations: 61.77 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.007512, allocations: 8.125 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.007518, allocations: 384 / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.00753, allocations: 15.91 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/0.007559, allocations: 7.938 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.007796, allocations: 165.9 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007901, allocations: 89.34 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.007924, allocations: 8.859 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.007933, allocations: 0 / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.924e-05/0.008022, allocations: 66.16 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.008024, allocations: 4 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003078/0.008331, allocations: 121.4 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.008365, allocations: 55.41 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.008501, allocations: 176.3 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.00852, allocations: 25.7 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.008559, allocations: 100 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.008591, allocations: 23.8 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.008629, allocations: 29.69 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.008729, allocations: 326.8 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.008749, allocations: 10.83 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.00878, allocations: 25.7 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.272e-05/0.008843, allocations: 48.45 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008844, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001003/0.008945, allocations: 68.88 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.008958, allocations: 7.938 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.008961, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.008974, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.009046, allocations: 27.92 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.009049, allocations: 0 / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.009086, allocations: 4.031 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.009094, allocations: 4 kB / 331.3 MB, free: 1.535 MB / 298.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 7.552e-05/0.009169, allocations: 119.5 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.00919, allocations: 11.92 kB / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.009315, allocations: 81.69 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.009318, allocations: 4 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.009319, allocations: 0 / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.009322, allocations: 0 / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.009601, allocations: 291.4 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.009604, allocations: 7.969 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.00964, allocations: 11.98 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.009643, allocations: 0 / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.009652, allocations: 8 kB / 331.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009654, allocations: 240 / 331.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009655, allocations: 0 / 331.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.009796, allocations: 211 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.009813, allocations: 15.84 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.009836, allocations: 11.98 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.009902, allocations: 0 / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.009927, allocations: 11.98 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.009938, allocations: 4 kB / 332.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.399e-05/0.01, allocations: 64.61 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01, allocations: 0 / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.01026, allocations: 27.94 kB / 332.2 MB, free: 0.6016 MB / 298.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.00178/0.01204, allocations: 0.5561 MB / 332.7 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01214, allocations: 36.78 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.01215, allocations: 4 kB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.01218, allocations: 20.84 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01242, allocations: 35.91 kB / 332.8 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.01278, allocations: 231.8 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.01282, allocations: 75.45 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.553e-05/0.01287, allocations: 13.28 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.01295, allocations: 71.36 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01295, allocations: 0 / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Templates: time 0.004291/0.01724, allocations: 2.018 MB / 335.2 MB, free: 13.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.022910795174539]