Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009773/0.0009773, 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.0009343/0.0009343, 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.9434/0.9434, allocations: 177 MB / 204.8 MB, free: 5.582 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.2752/0.2752, allocations: 34.86 MB / 296.3 MB, free: 0.5664 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.67e-05, allocations: 2.312 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003328/0.003354, allocations: 1.961 MB / 380.8 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004819, allocations: 1.051 MB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.004928, allocations: 8 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.00531, allocations: 43.59 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.005694, allocations: 99.41 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.005926, allocations: 99.58 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.006167, allocations: 151.5 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.006322, allocations: 17.8 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.006464, allocations: 79.73 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.006587, allocations: 39.83 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.006612, allocations: 8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-05/0.006706, allocations: 51.92 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.006772, allocations: 27.84 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.006842, allocations: 27.92 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.007102, allocations: 135.4 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007106, allocations: 0 / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007107, allocations: 0 / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.007114, allocations: 3.938 kB / 382.6 MB, free: 14.21 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006329/0.007747, allocations: 0.4897 MB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.007792, allocations: 12.03 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.007849, allocations: 24.8 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.008072, allocations: 181.1 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.008094, allocations: 4.375 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.008123, allocations: 8.375 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.008332, allocations: 139.7 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.008339, allocations: 192 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.008353, allocations: 8.375 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.008362, allocations: 7.938 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.008422, allocations: 27.92 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.008949, allocations: 0.595 MB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.009167, allocations: 67.16 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.009212, allocations: 23.67 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.009231, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.009374, allocations: 110.7 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.009376, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002296/0.009605, allocations: 113.5 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.009632, allocations: 51.41 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.009782, allocations: 251.1 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.009798, allocations: 25.7 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.009878, allocations: 166.8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.0099, allocations: 31.73 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.009941, allocations: 39.31 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01008, allocations: 0.5039 MB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.01011, allocations: 12 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.01017, allocations: 62.42 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.01025, allocations: 90.3 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01025, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001508/0.01041, allocations: 113.5 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01042, allocations: 4 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.01043, allocations: 4 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.01045, allocations: 0 / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.01052, allocations: 23.98 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01053, allocations: 4.062 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.01056, allocations: 15.94 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.01057, allocations: 4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.881e-05/0.01067, allocations: 164.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.01069, allocations: 19.91 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.01086, allocations: 103.1 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01086, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01086, allocations: 3.984 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01087, allocations: 4 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.01099, allocations: 164.5 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01099, allocations: 4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.01104, allocations: 16 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01104, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01105, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01106, allocations: 4 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01106, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.01125, allocations: 164.1 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.01127, allocations: 15.84 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.01129, allocations: 8 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.01132, allocations: 7.984 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.01136, allocations: 12.02 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.01138, allocations: 0 / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.909e-05/0.01147, allocations: 175.1 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 3.938 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001595/0.01163, allocations: 24 kB / 386.7 MB, free: 9.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001307/0.01293, allocations: 385.8 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01308, allocations: 59.53 kB / 387.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01308, allocations: 0 / 387.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.01313, allocations: 35.67 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01336, allocations: 36.28 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.0138, allocations: 258.2 kB / 387.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.62e-05/0.01384, allocations: 71.83 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.01389, allocations: 21.47 kB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.01393, allocations: 20.5 kB / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01393, allocations: 0 / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of Templates: time 0.004089/0.01802, allocations: 2.059 MB / 389.6 MB, free: 6.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.4491667598485947]