Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001105/0.001105, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.002062/0.002062, allocations: 160.5 kB / 24.55 MB, free: 20 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.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.562 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.3035/0.3035, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.2e-05, allocations: 4.844 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002294/0.002316, allocations: 1.715 MB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003526, allocations: 0.9968 MB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.003601, allocations: 4 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.003917, allocations: 51.7 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.004252, allocations: 107.5 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.004425, allocations: 79.59 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.00459, allocations: 103.6 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.00463, allocations: 12.2 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.004713, allocations: 43.84 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.004787, allocations: 27.92 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.004803, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.004875, allocations: 35.97 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.004928, allocations: 27.86 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.004967, allocations: 19.88 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.005141, allocations: 99.66 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005143, allocations: 0 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005145, allocations: 0 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005149, allocations: 0 / 382.2 MB, free: 14.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004517/0.005601, allocations: 471.6 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.005637, allocations: 12.03 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.005685, allocations: 20.84 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.005848, allocations: 165.2 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.005866, allocations: 8.312 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.005875, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.006005, allocations: 58.94 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.006014, allocations: 192 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.006025, allocations: 384 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.006037, allocations: 7.938 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.006073, allocations: 7.984 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.006249, allocations: 152.6 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006368, allocations: 51.11 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.006405, allocations: 27.66 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.00642, allocations: 4 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.006537, allocations: 61.05 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.006539, allocations: 0 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002169/0.006756, allocations: 89.53 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.006794, allocations: 59.33 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.006955, allocations: 273.6 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006966, allocations: 33.7 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.007023, allocations: 162.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.007053, allocations: 15.91 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.007082, allocations: 23.38 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.007212, allocations: 0.504 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.007232, allocations: 7.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.007262, allocations: 31.36 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.007308, allocations: 35.31 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00731, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.768e-05/0.007398, allocations: 81.53 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.007414, allocations: 8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007418, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.007432, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.007496, allocations: 15.92 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.007503, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.007531, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.007539, allocations: 8 kB / 384.5 MB, free: 12.09 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 (7): * Single equations (assignments): 7 * 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 6.911e-05/0.007608, allocations: 152.6 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.007621, allocations: 15.91 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.007746, allocations: 99.16 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007748, allocations: 3.938 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.007753, allocations: 7.938 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.007757, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.007864, allocations: 160.5 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007866, allocations: 3.984 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.007884, allocations: 8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007886, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.007893, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007894, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007895, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.619e-05/0.007991, allocations: 132.2 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.008005, allocations: 11.91 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.008023, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.008043, allocations: 4 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.008075, allocations: 11.92 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.008085, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.008174, allocations: 192.5 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008174, allocations: 0 / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.008316, allocations: 20 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007965/0.009112, allocations: 384.5 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.009219, allocations: 43.59 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00922, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.009252, allocations: 19.75 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.009436, allocations: 31.97 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.009785, allocations: 234.5 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.009826, allocations: 71.33 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.009858, allocations: 20.72 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.009887, allocations: 16.5 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009887, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.00348/0.01337, allocations: 1.787 MB / 387.9 MB, free: 8.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.29836967587471]