Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.002003/0.002003, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002205/0.002205, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.658/1.658, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3766/0.3766, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.225e-05, allocations: 2.312 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003618/0.00365, allocations: 1.734 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.005734, allocations: 1.001 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.005805, allocations: 0 / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.006146, allocations: 55.62 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.006526, allocations: 103.5 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.006762, allocations: 75.67 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.006991, allocations: 111.6 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.007085, allocations: 8 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.007208, allocations: 51.88 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.007303, allocations: 27.86 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.007326, allocations: 4 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.007443, allocations: 47.86 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.007512, allocations: 27.91 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.007573, allocations: 23.92 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.007851, allocations: 119.6 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.007856, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.007857, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.007862, allocations: 0 / 380.7 MB, free: 15.43 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.0007847/0.008647, allocations: 467.4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.008702, allocations: 12.03 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.008779, allocations: 20.84 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.0091, allocations: 161.1 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.009118, allocations: 4.375 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.00914, allocations: 384 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.009299, allocations: 58.17 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.009313, allocations: 192 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.009325, allocations: 384 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.009331, allocations: 11.94 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.011e-05/0.009412, allocations: 15.98 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.009946, allocations: 303.8 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.01016, allocations: 71.14 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.01023, allocations: 19.69 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.01025, allocations: 0 / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.01044, allocations: 84.88 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.978e-06/0.01045, allocations: 3.984 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006748/0.01112, allocations: 185.3 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.01118, allocations: 55.41 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.0115, allocations: 279.1 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.01153, allocations: 29.7 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.01168, allocations: 162.9 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.01172, allocations: 19.86 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.01178, allocations: 27.38 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003214/0.0121, allocations: 0.5118 MB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.01215, allocations: 12 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.01252, allocations: 43.36 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01266, allocations: 67.3 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01266, allocations: 4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002226/0.01288, allocations: 109.5 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.0129, allocations: 4 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.01291, allocations: 7.984 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.01293, allocations: 0 / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01303, allocations: 15.94 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01304, allocations: 160 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.01309, allocations: 8 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.0131, allocations: 4 kB / 383.4 MB, free: 12.47 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 0.0001532/0.01325, allocations: 172.5 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.01329, allocations: 23.84 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.01358, allocations: 119 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01359, allocations: 0 / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.01359, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.0136, allocations: 3.938 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.01419, allocations: 428.9 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01419, allocations: 0 / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.01423, allocations: 8 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01423, allocations: 0 / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01425, allocations: 8.406 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.01425, allocations: 3.984 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01426, allocations: 7.938 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.0146, allocations: 275.4 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.01462, allocations: 7.953 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.01465, allocations: 4 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.01472, allocations: 4 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.01477, allocations: 7.984 kB / 384.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.01479, allocations: 4 kB / 384.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.01497, allocations: 191.1 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01497, allocations: 0 / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01524, allocations: 28 kB / 384.7 MB, free: 11.11 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.003369/0.0186, allocations: 483.5 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01887, allocations: 75.55 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01887, allocations: 4.062 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.01897, allocations: 43.61 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.01936, allocations: 34.27 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.02001, allocations: 253.4 kB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.02013, allocations: 88.81 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.02019, allocations: 21.33 kB / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.02023, allocations: 20.48 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02024, allocations: 0 / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.005972/0.02621, allocations: 1.87 MB / 387.5 MB, free: 8.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.075221371022053]