Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001142/0.001142, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001828/0.001828, allocations: 165 kB / 24.99 MB, free: 8.801 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 1.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.605 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.3078/0.3078, allocations: 34.86 MB / 296.6 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.304e-05, allocations: 2.312 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.006804/0.006827, allocations: 1.934 MB / 380.8 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.008428, allocations: 1.116 MB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.01155, allocations: 0 / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.01201, allocations: 231.2 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.01246, allocations: 215.1 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.01274, allocations: 115.6 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.01304, allocations: 271.2 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.01315, allocations: 13.97 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.01332, allocations: 147.6 kB / 382.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.01351, allocations: 159.6 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.01353, allocations: 8 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.01365, allocations: 71.89 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.01373, allocations: 59.77 kB / 383.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.0138, allocations: 43.8 kB / 383.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.01408, allocations: 195.2 kB / 383.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01408, allocations: 7.938 kB / 383.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01408, allocations: 0 / 383.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.01409, allocations: 0 / 383.4 MB, free: 13.74 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00369/0.01778, allocations: 0.604 MB / 384 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.01782, allocations: 12.03 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.01789, allocations: 36.75 kB / 384.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.01815, allocations: 220.6 kB / 384.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.01817, allocations: 4.375 kB / 384.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.0182, allocations: 8.375 kB / 384.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.01839, allocations: 118.2 kB / 384.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01841, allocations: 8.141 kB / 384.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.01842, allocations: 384 / 384.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01843, allocations: 7.938 kB / 384.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.0185, allocations: 35.95 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.01896, allocations: 0.5101 MB / 385 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.01921, allocations: 118.2 kB / 385.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.01927, allocations: 43.36 kB / 385.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.01928, allocations: 4 kB / 385.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.01945, allocations: 127.6 kB / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.01945, allocations: 0 / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.003895/0.02334, allocations: 461.5 kB / 385.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.02338, allocations: 89.09 kB / 385.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.0237, allocations: 398.3 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.02372, allocations: 29.7 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.02383, allocations: 219.3 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.02388, allocations: 71.41 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.02394, allocations: 47.38 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.02409, allocations: 0.5235 MB / 387.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.02415, allocations: 43.91 kB / 387.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.02424, allocations: 80.91 kB / 387.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.0244, allocations: 122.8 kB / 387.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.0244, allocations: 4 kB / 387.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002667/0.02466, allocations: 205.2 kB / 387.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.02468, allocations: 4 kB / 387.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02468, allocations: 4 kB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.0247, allocations: 64 / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.02481, allocations: 51.91 kB / 387.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.02482, allocations: 0 / 387.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.02488, allocations: 11.94 kB / 387.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.02489, allocations: 12 kB / 387.6 MB, free: 9.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.445e-05/0.02499, allocations: 168.5 kB / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.02504, allocations: 47.75 kB / 387.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.02537, allocations: 224.4 kB / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.02537, allocations: 7.938 kB / 388 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.02537, allocations: 0 / 388 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.02538, allocations: 4 kB / 388 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.02602, allocations: 0.7489 MB / 388.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.02603, allocations: 4 kB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.0261, allocations: 39.8 kB / 388.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.02611, allocations: 4 kB / 388.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.02612, allocations: 11.98 kB / 388.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.02612, allocations: 4 kB / 388.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02612, allocations: 0 / 388.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.02783, allocations: 0.5145 MB / 389.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.02786, allocations: 35.75 kB / 389.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.02788, allocations: 8 kB / 389.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.02796, allocations: 8 kB / 389.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.028, allocations: 19.97 kB / 389.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.02802, allocations: 11.98 kB / 389.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.02817, allocations: 275 kB / 389.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02817, allocations: 0 / 389.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.02839, allocations: 59.86 kB / 389.8 MB, free: 6.984 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009973/0.02939, allocations: 475.5 kB / 390.2 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.02958, allocations: 127.7 kB / 390.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.02958, allocations: 0 / 390.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.02966, allocations: 79.66 kB / 390.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.02999, allocations: 74.7 kB / 390.5 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.03051, allocations: 0.4895 MB / 391 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.03057, allocations: 100.3 kB / 391.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.03064, allocations: 42.16 kB / 391.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.03069, allocations: 40.42 kB / 391.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03069, allocations: 0 / 391.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of Templates: time 0.004839/0.03553, allocations: 3.345 MB / 394.5 MB, free: 2.352 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.1860796031542122]