Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009541/0.0009541, 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.001411/0.001411, allocations: 156.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 0.9949/0.9949, 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.3216/0.3216, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.847e-05, allocations: 3.156 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00238/0.002398, allocations: 1.782 MB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003544, allocations: 1.019 MB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.003613, allocations: 0 / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.003924, allocations: 111.6 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.004265, allocations: 131.5 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.004494, allocations: 87.48 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.004729, allocations: 131.7 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.004826, allocations: 7.984 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.004947, allocations: 79.73 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.005068, allocations: 67.86 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.00509, allocations: 8 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.005215, allocations: 63.91 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.005279, allocations: 35.84 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.005319, allocations: 19.92 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.00556, allocations: 131.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.005563, allocations: 3.984 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005564, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005569, allocations: 0 / 382.5 MB, free: 14.31 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005637/0.006132, allocations: 483.5 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.006173, allocations: 16.03 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.006238, allocations: 20.84 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.006445, allocations: 169.2 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.006467, allocations: 4.375 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.006492, allocations: 4.375 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.006655, allocations: 70.92 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006665, allocations: 192 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.006678, allocations: 4.375 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.006689, allocations: 7.938 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.006757, allocations: 19.98 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.007156, allocations: 327.6 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.007378, allocations: 63.05 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.007424, allocations: 19.67 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.007437, allocations: 3.984 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.007569, allocations: 81 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.007571, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006905/0.008261, allocations: 241.2 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.008299, allocations: 55.41 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.008522, allocations: 274.8 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.008542, allocations: 29.69 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.008625, allocations: 166.8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.008672, allocations: 43.78 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.008722, allocations: 35.36 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.00887, allocations: 0.504 MB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.008919, allocations: 19.98 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.008985, allocations: 51.28 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.009077, allocations: 71.36 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009078, allocations: 4 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001978/0.009276, allocations: 121.5 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.00929, allocations: 8 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.009295, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.009308, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-05/0.009408, allocations: 27.98 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.009413, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.009459, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.009467, allocations: 4 kB / 385.4 MB, free: 11.18 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 (14): * Single equations (assignments): 14 * 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 7.731e-05/0.009545, allocations: 172.4 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.009566, allocations: 27.89 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.00975, allocations: 143.8 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.009753, allocations: 4 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.009756, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.009759, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.01038, allocations: 472.5 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01038, allocations: 0 / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.01041, allocations: 19.98 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.01042, allocations: 4 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01043, allocations: 12.06 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.01044, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01044, allocations: 0 / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.01062, allocations: 310.1 kB / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.01063, allocations: 11.91 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.01065, allocations: 8 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.0107, allocations: 0 / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01074, allocations: 19.91 kB / 386.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01075, allocations: 8 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.01084, allocations: 189.4 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 4 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.01103, allocations: 35.94 kB / 386.8 MB, free: 9.672 MB / 362.7 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 (14): * Single equations (assignments): 12 * 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.001014/0.01204, allocations: 481 kB / 387.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01218, allocations: 75.53 kB / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01218, allocations: 0 / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.01223, allocations: 51.59 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01247, allocations: 36.36 kB / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.01285, allocations: 305.2 kB / 387.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.0129, allocations: 75.83 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.01295, allocations: 25.31 kB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.01299, allocations: 24.48 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01299, allocations: 0 / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of Templates: time 0.00401/0.017, allocations: 2.411 MB / 390.3 MB, free: 6.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.1284282780252397]