Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001711/0.001711, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002054/0.002054, allocations: 214.8 kB / 23.73 MB, free: 4.406 MB / 14.72 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.569/1.569, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 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.2488/0.2488, allocations: 46.96 MB / 360.8 MB, free: 4.016 MB / 286.1 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 83.88 kB / 0.4967 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4485, allocations: 66.08 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003892/0.4524, allocations: 1.729 MB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.4544, allocations: 0.971 MB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.4545, allocations: 7.938 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.4549, allocations: 91.69 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.4552, allocations: 115.6 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.4555, allocations: 83.66 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.4557, allocations: 123.6 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4558, allocations: 19.95 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.4559, allocations: 55.72 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.456, allocations: 63.8 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.4561, allocations: 8 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.4562, allocations: 67.95 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.4563, allocations: 31.86 kB / 0.5645 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.4563, allocations: 23.81 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.4566, allocations: 153.7 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4566, allocations: 0 / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4566, allocations: 0 / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4566, allocations: 0 / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007081/0.4573, allocations: 377.3 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4573, allocations: 8.031 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.4574, allocations: 16.92 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.4577, allocations: 163 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4577, allocations: 4.359 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4578, allocations: 8.375 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.458, allocations: 65.92 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.458, allocations: 0 / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.458, allocations: 0 / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.458, allocations: 4 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.4581, allocations: 31.97 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.4586, allocations: 236.5 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.4588, allocations: 78.36 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.4589, allocations: 20.97 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.4589, allocations: 0 / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.4591, allocations: 67.39 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.4591, allocations: 0 / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008729/0.46, allocations: 253.3 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.46, allocations: 51.41 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4603, allocations: 243 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4603, allocations: 37.64 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.4604, allocations: 116 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.4605, allocations: 35.73 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.4605, allocations: 25.72 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4607, allocations: 330.8 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.4608, allocations: 31.98 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.4609, allocations: 49.69 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.461, allocations: 73.72 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.461, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002291/0.4612, allocations: 133.5 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4613, allocations: 11.98 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4613, allocations: 0 / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4613, allocations: 0 / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.4614, allocations: 23.94 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4614, allocations: 4 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.4614, allocations: 3.984 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4614, allocations: 4.703 kB / 0.5671 GB, free: 13.76 MB / 414.1 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 (13): * Single equations (assignments): 13 * 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.000131/0.4616, allocations: 135.9 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4616, allocations: 19.94 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.4619, allocations: 162.9 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4619, allocations: 3.984 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4619, allocations: 0 / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4619, allocations: 3.938 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.4625, allocations: 395.8 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4625, allocations: 4 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.4626, allocations: 19.92 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4626, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4626, allocations: 12.06 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4626, allocations: 4.031 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4626, allocations: 3.938 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.4629, allocations: 245.1 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.4629, allocations: 11.91 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4629, allocations: 4 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.463, allocations: 11.92 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.4631, allocations: 11.98 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4631, allocations: 4 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.4633, allocations: 179.2 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4633, allocations: 7.938 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4635, allocations: 27.94 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002192/0.4657, allocations: 0.5282 MB / 0.5688 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.466, allocations: 75.91 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.466, allocations: 3.938 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4661, allocations: 43.86 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4665, allocations: 39.92 kB / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.467, allocations: 296.3 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4671, allocations: 101.8 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.4672, allocations: 20.62 kB / 0.5694 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.4673, allocations: 27.42 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4673, allocations: 0 / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Templates: time 0.005949/0.4732, allocations: 2.162 MB / 0.5715 GB, free: 9.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.78376436419785]