Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009366/0.0009366, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001015/0.001015, allocations: 167.2 kB / 24.82 MB, free: 9.309 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.9968/0.9968, allocations: 177 MB / 205.1 MB, free: 5.488 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.2818/0.2818, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.547e-05, allocations: 7.094 kB / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00237/0.002386, allocations: 1.761 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003467, allocations: 1.001 MB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.003522, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.00372, allocations: 47.7 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.003938, allocations: 95.53 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.004091, allocations: 79.55 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.004217, allocations: 107.7 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.004277, allocations: 4 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.00435, allocations: 59.75 kB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.0044, allocations: 23.92 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.004411, allocations: 4 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.004478, allocations: 47.91 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.004513, allocations: 19.92 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.004542, allocations: 27.92 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.004669, allocations: 95.59 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.004671, allocations: 0 / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004671, allocations: 0 / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004675, allocations: 0 / 382.7 MB, free: 14.38 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.0003355/0.00501, allocations: 451.8 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.005038, allocations: 8.031 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.005067, allocations: 12.89 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.00519, allocations: 154.6 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005205, allocations: 4.375 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.005216, allocations: 4.375 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.005299, allocations: 62.94 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005306, allocations: 192 / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.005312, allocations: 384 / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.005318, allocations: 3.938 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.005341, allocations: 15.92 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.005528, allocations: 248.5 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.005596, allocations: 51.16 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.005616, allocations: 19.67 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005628, allocations: 4 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.032e-05/0.005698, allocations: 68.98 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.005699, allocations: 0 / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002447/0.005944, allocations: 141.4 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.005964, allocations: 51.41 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.006061, allocations: 230.5 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.006071, allocations: 25.7 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.006126, allocations: 146.9 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.006152, allocations: 35.72 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.006182, allocations: 27.38 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.006281, allocations: 0.5001 MB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.006297, allocations: 11.98 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.00632, allocations: 27.36 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.00636, allocations: 47.3 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006361, allocations: 0 / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.001e-05/0.006441, allocations: 85.89 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.00645, allocations: 7.984 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006456, allocations: 4 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.006465, allocations: 4.031 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.006514, allocations: 16 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.006516, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.006539, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006545, allocations: 7.984 kB / 385.1 MB, free: 11.72 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 5.983e-05/0.006605, allocations: 156.6 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.006624, allocations: 23.84 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.006734, allocations: 99.06 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006736, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006737, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.006741, allocations: 8 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.006955, allocations: 361.6 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006956, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.006979, allocations: 15.92 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006982, allocations: 4 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006986, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006987, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006988, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007119, allocations: 255.4 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.00713, allocations: 7.953 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.007143, allocations: 8.031 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.007182, allocations: 7.984 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.007199, allocations: 0 / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.007209, allocations: 15.92 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.00727, allocations: 160.8 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00727, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.007426, allocations: 27.94 kB / 386.2 MB, free: 10.52 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.0007919/0.008218, allocations: 430.9 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.008299, allocations: 51.59 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/0.0083, allocations: 0 / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.008339, allocations: 31.61 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.008533, allocations: 31.92 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.008803, allocations: 218.3 kB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.008835, allocations: 63.34 kB / 387.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.008866, allocations: 17.39 kB / 387.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.008926, allocations: 94.19 kB / 387.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008926, allocations: 0 / 387.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of Templates: time 0.003192/0.01212, allocations: 2.028 MB / 389.2 MB, free: 7.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.9267939408309758]