Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001469/0.001469, 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.001048/0.001048, allocations: 156.9 kB / 24.99 MB, free: 8.805 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.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.617 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.2524/0.2524, 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.223e-05, allocations: 6.25 kB / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003432/0.003465, allocations: 1.763 MB / 380.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.005288, allocations: 1.005 MB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.005389, allocations: 3.938 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.005734, allocations: 35.77 kB / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.006108, allocations: 99.48 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.006449, allocations: 79.59 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.00668, allocations: 111.6 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.006793, allocations: 4 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.006929, allocations: 59.81 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.007027, allocations: 19.92 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.00705, allocations: 8 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.007186, allocations: 43.92 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.007268, allocations: 19.91 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.007337, allocations: 19.94 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.007632, allocations: 103.5 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.007638, allocations: 0 / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.00764, allocations: 0 / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.007647, allocations: 0 / 382.2 MB, free: 14.95 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.0006069/0.008254, allocations: 439.9 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.008297, allocations: 8.031 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.008359, allocations: 12.89 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.00859, allocations: 152.4 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.008612, allocations: 4.312 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.008636, allocations: 4.375 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.008795, allocations: 66.94 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.008809, allocations: 4.188 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.008821, allocations: 4.359 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.00883, allocations: 3.938 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.008876, allocations: 12 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.009252, allocations: 275.8 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.009394, allocations: 51.11 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.009436, allocations: 23.67 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.009451, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.009589, allocations: 80.88 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.009591, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005071/0.0101, allocations: 149.4 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.01028, allocations: 51.41 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01047, allocations: 216.1 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.01048, allocations: 33.69 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.01056, allocations: 146.9 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.0106, allocations: 31.77 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.01065, allocations: 27.31 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.01079, allocations: 0.4923 MB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.01083, allocations: 19.98 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.01088, allocations: 27.38 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.01095, allocations: 51.36 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01096, allocations: 4 kB / 384.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001582/0.01111, allocations: 89.47 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01113, allocations: 8 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01114, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01115, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01125, allocations: 15.98 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.01127, allocations: 11.97 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.01131, allocations: 4 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01132, allocations: 4 kB / 384.7 MB, free: 12.24 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 9.475e-05/0.01142, allocations: 167 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01144, allocations: 11.89 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.01162, allocations: 102.4 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01162, allocations: 0 / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.01162, allocations: 4.359 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01163, allocations: 4 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.01194, allocations: 392.9 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01194, allocations: 7.984 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.01197, allocations: 8 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01197, allocations: 4 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.01198, allocations: 0 / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01198, allocations: 0 / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01199, allocations: 4 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.01212, allocations: 255.4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.01214, allocations: 11.88 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01216, allocations: 8 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.0122, allocations: 4.031 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.01223, allocations: 7.984 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01225, allocations: 4 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.837e-05/0.01232, allocations: 167.9 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01232, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01251, allocations: 23.94 kB / 385.8 MB, free: 10.99 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.0008927/0.0134, allocations: 436.7 kB / 386.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.01351, allocations: 55.55 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01352, allocations: 4.062 kB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.01356, allocations: 35.66 kB / 386.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01379, allocations: 36.72 kB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.01414, allocations: 210.3 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.01418, allocations: 63.34 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.948e-05/0.01422, allocations: 25.27 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.01425, allocations: 12.56 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01425, allocations: 8 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003403/0.01765, allocations: 1.849 MB / 388.6 MB, free: 8.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.1253744999412447]