Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001978/0.001978, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002158/0.002158, allocations: 160.8 kB / 24.27 MB, free: 156 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.577/1.577, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3867/0.3867, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.626e-05/3.859e-05, allocations: 4.844 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.005956/0.005994, allocations: 1.735 MB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.00972, allocations: 0.997 MB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.009832, allocations: 0 / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.01032, allocations: 51.62 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.01098, allocations: 95.55 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.01143, allocations: 79.66 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.01179, allocations: 115.5 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.01192, allocations: 4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.01214, allocations: 47.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.01229, allocations: 35.83 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.01233, allocations: 4 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.01253, allocations: 47.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.01263, allocations: 23.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.01271, allocations: 23.92 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.01313, allocations: 123.5 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01314, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01314, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.01315, allocations: 0 / 380.7 MB, free: 15.42 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00104/0.01419, allocations: 447.5 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.01425, allocations: 12.03 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.01436, allocations: 16.84 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.01479, allocations: 160.8 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.01481, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.01485, allocations: 12.36 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.0151, allocations: 54.23 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01512, allocations: 192 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01514, allocations: 384 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.01515, allocations: 3.938 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.01528, allocations: 19.98 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.01599, allocations: 299.8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.0163, allocations: 59.17 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.01641, allocations: 23.67 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.01643, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.0167, allocations: 84.92 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.0167, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.01771, allocations: 173.3 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.01779, allocations: 63.28 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.01825, allocations: 253.9 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.01829, allocations: 25.7 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.01848, allocations: 158.9 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.01855, allocations: 27.8 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.01865, allocations: 31.36 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004673/0.01912, allocations: 0.504 MB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.01922, allocations: 16 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.01937, allocations: 47.36 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.0196, allocations: 67.3 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0196, allocations: 0 / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003953/0.01999, allocations: 105.9 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.02002, allocations: 4 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02003, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.02005, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.02021, allocations: 23.94 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.02022, allocations: 160 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.02031, allocations: 12.02 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.02033, allocations: 4 kB / 383.3 MB, free: 12.54 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 (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 0.0002182/0.02055, allocations: 164.5 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.02062, allocations: 19.84 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.02108, allocations: 123 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.02108, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.02108, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02109, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.02209, allocations: 420.9 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.0221, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.02219, allocations: 20.03 kB / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.02219, allocations: 0 / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.02221, allocations: 0 / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02221, allocations: 0 / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.02222, allocations: 7.938 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.02283, allocations: 267.5 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.02287, allocations: 15.84 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.02291, allocations: 4 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.02304, allocations: 0 / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.02311, allocations: 15.92 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.02314, allocations: 8 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003059/0.02344, allocations: 188.2 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02345, allocations: 0 / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004973/0.02394, allocations: 24 kB / 384.6 MB, free: 11.2 MB / 362.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.005248/0.02919, allocations: 487.2 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.02961, allocations: 75.53 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.02961, allocations: 4 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.0298, allocations: 43.61 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.03045, allocations: 27.95 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.03134, allocations: 233.9 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.03152, allocations: 100.9 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.177e-05/0.03161, allocations: 17.28 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.03169, allocations: 20.48 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03169, allocations: 0 / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.01007/0.04176, allocations: 1.868 MB / 387.4 MB, free: 8.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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: 4.990346329053864]