Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001122/0.001122, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001251/0.001251, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.116/1.116, allocations: 177 MB / 205.9 MB, free: 4.457 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.201/0.201, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.299e-05, allocations: 6.094 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00366/0.003693, allocations: 1.754 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.006466, allocations: 1.718 MB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.006607, allocations: 4 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.007028, allocations: 39.7 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.007557, allocations: 99.53 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.00791, allocations: 87.48 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.008164, allocations: 111.7 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.008309, allocations: 7.938 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.008453, allocations: 55.83 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.008634, allocations: 35.91 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.00866, allocations: 4 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.008968, allocations: 99.86 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.009046, allocations: 27.92 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.009098, allocations: 23.86 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.00954, allocations: 155.5 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.009545, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.009547, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.009555, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.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.0006962/0.01025, allocations: 463.7 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.0103, allocations: 11.97 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.01037, allocations: 12.89 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.01061, allocations: 149 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.01064, allocations: 4.375 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.01066, allocations: 4.375 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.01086, allocations: 108 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01088, allocations: 3.938 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.01089, allocations: 3.984 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.0109, allocations: 0 / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.01094, allocations: 11.94 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.01131, allocations: 260.4 kB / 385.3 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.01144, allocations: 47.16 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.01147, allocations: 23.69 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.01149, allocations: 0 / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.01163, allocations: 72.91 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.01163, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004847/0.01212, allocations: 141.7 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.01216, allocations: 77.11 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01231, allocations: 212.5 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.01232, allocations: 29.7 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.01238, allocations: 146.8 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.01243, allocations: 23.84 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.01248, allocations: 35.36 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.01258, allocations: 0.4923 MB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.01261, allocations: 8.125 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.01266, allocations: 68.75 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.01273, allocations: 51.28 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01273, allocations: 4 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001509/0.01288, allocations: 85.45 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.0129, allocations: 4 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01291, allocations: 64 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.01292, allocations: 8 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.01302, allocations: 15.98 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.01302, allocations: 0 / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.01307, allocations: 15.89 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.01308, allocations: 0 / 386.9 MB, free: 15.64 MB / 314.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 9.113e-05/0.01317, allocations: 160.6 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.0132, allocations: 15.89 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.0134, allocations: 98.38 kB / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.0134, allocations: 0 / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.0134, allocations: 4 kB / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01341, allocations: 3.984 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.01378, allocations: 361.6 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.01379, allocations: 4 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.01384, allocations: 15.94 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.01385, allocations: 3.984 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01386, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01386, allocations: 4 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01386, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01408, allocations: 255.6 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.0141, allocations: 11.98 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.01414, allocations: 8 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.01423, allocations: 3.984 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.01426, allocations: 4 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.01428, allocations: 7.984 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.01438, allocations: 157.6 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01438, allocations: 0 / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.01482, allocations: 43.88 kB / 388 MB, free: 14.42 MB / 314.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.001957/0.01677, allocations: 0.5286 MB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.01698, allocations: 55.59 kB / 388.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01699, allocations: 0 / 388.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.01704, allocations: 31.61 kB / 388.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.01747, allocations: 39.2 kB / 388.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.01804, allocations: 207.7 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.898e-05/0.01809, allocations: 63.34 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.085e-05/0.01819, allocations: 21.09 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.0183, allocations: 98.19 kB / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01831, allocations: 0 / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Templates: time 0.01004/0.02835, allocations: 2.806 MB / 391.8 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.881966592743993]