Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009472/0.0009472, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001645/0.001645, allocations: 166.8 kB / 24.92 MB, free: 8.77 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.9706/0.9706, allocations: 177 MB / 205.2 MB, free: 4.984 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.3104/0.3104, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 4 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.8e-05, allocations: 7.266 kB / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002769/0.002797, allocations: 1.763 MB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004309, allocations: 1.009 MB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.004392, allocations: 4 kB / 328.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.004725, allocations: 43.7 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.005119, allocations: 99.47 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.005417, allocations: 79.61 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.005627, allocations: 107.7 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005737, allocations: 11.97 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.005837, allocations: 55.77 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005937, allocations: 27.91 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.005958, allocations: 4 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.006093, allocations: 43.92 kB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.006149, allocations: 19.92 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.006189, allocations: 23.86 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.006402, allocations: 99.66 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.006407, allocations: 0 / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.006409, allocations: 4 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.006414, allocations: 0 / 329.4 MB, free: 3.668 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.0004495/0.006864, allocations: 325.5 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.006898, allocations: 12.03 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.006928, allocations: 12.92 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.007082, allocations: 146.3 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.007096, allocations: 4.375 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.007116, allocations: 384 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.007264, allocations: 65.77 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.007272, allocations: 192 / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.00728, allocations: 4.375 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.007289, allocations: 11.86 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.007319, allocations: 15.92 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.00758, allocations: 165.9 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.007693, allocations: 85.36 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.007714, allocations: 12.86 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.007728, allocations: 0 / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.007843, allocations: 66.16 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.007844, allocations: 4 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003866/0.00823, allocations: 117.5 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.008268, allocations: 51.41 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.008396, allocations: 173.3 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.008416, allocations: 29.7 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.008455, allocations: 100.1 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.008489, allocations: 27.78 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.008528, allocations: 21.7 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.008628, allocations: 322.8 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.008659, allocations: 14.81 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.008692, allocations: 25.7 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/0.008747, allocations: 48.45 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008749, allocations: 0 / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.008852, allocations: 64.5 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.008877, allocations: 13.17 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.008883, allocations: 4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.008898, allocations: 3.938 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.008982, allocations: 16 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.008986, allocations: 384 / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.009019, allocations: 8.031 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.009027, allocations: 3.984 kB / 331.3 MB, free: 1.555 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 9.669e-05/0.009124, allocations: 116.7 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.009146, allocations: 19.92 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.009297, allocations: 75.08 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.009301, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.009303, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.009309, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.009766, allocations: 287.6 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.009769, allocations: 7.953 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.009795, allocations: 15.94 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.009797, allocations: 0 / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.009805, allocations: 8 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009806, allocations: 0 / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009808, allocations: 80 / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.009913, allocations: 219 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.009925, allocations: 11.89 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.009941, allocations: 4 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.009985, allocations: 4 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.01001, allocations: 7.984 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01002, allocations: 11.94 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.289e-05/0.01006, allocations: 51.64 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01006, allocations: 0 / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.01021, allocations: 23.94 kB / 332.2 MB, free: 0.6367 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.001196/0.01141, allocations: 0.5692 MB / 332.7 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.0115, allocations: 44.77 kB / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.01151, allocations: 0 / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.01153, allocations: 20.86 kB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.01171, allocations: 31.91 kB / 332.8 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.01205, allocations: 220 kB / 333 MB, free: 0 / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.385e-05/0.0121, allocations: 63.47 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.01214, allocations: 21.27 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.0122, allocations: 67.36 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0122, allocations: 0 / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Templates: time 0.003576/0.01578, allocations: 2.023 MB / 335.2 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.128955216612667]