Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009618/0.0009618, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009312/0.0009312, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9674/0.9674, allocations: 177 MB / 204.8 MB, free: 5.574 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.2541/0.2541, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.409e-05, allocations: 3.016 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002508/0.002532, allocations: 1.765 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.00423, allocations: 1.737 MB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.004309, allocations: 3.938 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.004605, allocations: 31.83 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.004948, allocations: 111.3 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.005117, allocations: 83.59 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.005275, allocations: 107.7 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.005367, allocations: 8 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.00545, allocations: 59.77 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.005554, allocations: 35.89 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.005571, allocations: 8 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.005721, allocations: 107.7 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.005774, allocations: 19.92 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.005813, allocations: 15.94 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.006061, allocations: 159.5 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006064, allocations: 0 / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006064, allocations: 0 / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.00607, allocations: 0 / 383.1 MB, free: 13.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004517/0.006522, allocations: 463.8 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.006555, allocations: 8.031 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.006604, allocations: 12.89 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.006775, allocations: 145 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.006793, allocations: 8.375 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.006825, allocations: 4.375 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.007262, allocations: 115.9 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.007274, allocations: 7.891 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.007285, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.007292, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.007338, allocations: 12 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.007696, allocations: 279.8 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.007829, allocations: 59.09 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.007866, allocations: 15.62 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.007887, allocations: 4 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.008016, allocations: 69.05 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.008018, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004312/0.008449, allocations: 153.3 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.00849, allocations: 89.09 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.008623, allocations: 215.2 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.008637, allocations: 29.7 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.00869, allocations: 142.9 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.008716, allocations: 23.8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.00876, allocations: 35.36 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.00888, allocations: 0.4922 MB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.008904, allocations: 11.98 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.008952, allocations: 72.69 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.009007, allocations: 47.31 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009008, allocations: 4.031 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001038/0.009112, allocations: 97.52 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009125, allocations: 4 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00913, allocations: 4 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.009146, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.009218, allocations: 12 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.009223, allocations: 4.312 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.009256, allocations: 7.984 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.009262, allocations: 4 kB / 385.7 MB, free: 10.88 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 (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.374e-05/0.009336, allocations: 168.5 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.009354, allocations: 15.95 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.009499, allocations: 102.4 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009501, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009504, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.009508, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.009788, allocations: 396.9 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.009789, allocations: 0 / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.009817, allocations: 12 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009819, allocations: 0 / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.009828, allocations: 12.02 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009829, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00983, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.009969, allocations: 255.4 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.009982, allocations: 11.94 kB / 386.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.01, allocations: 8 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.01004, allocations: 0 / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01008, allocations: 7.984 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01009, allocations: 7.938 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.873e-05/0.01017, allocations: 169.5 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01038, allocations: 55.86 kB / 386.9 MB, free: 9.598 MB / 362.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.001089/0.01146, allocations: 0.5292 MB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.01159, allocations: 55.59 kB / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01159, allocations: 0 / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.01163, allocations: 27.69 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01185, allocations: 34.83 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.01218, allocations: 210 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.01222, allocations: 63.34 kB / 387.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.01226, allocations: 16.97 kB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.0123, allocations: 20.48 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0123, allocations: 0 / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of Templates: time 0.004087/0.01639, allocations: 2.534 MB / 390.4 MB, free: 6.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.394313308876008]