Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001027/0.001027, 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.0009911/0.0009911, 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 1.051/1.051, allocations: 177 MB / 204.8 MB, free: 5.598 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.3065/0.3065, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.411e-05, allocations: 8.359 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002096/0.00212, allocations: 1.766 MB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003281, allocations: 1.016 MB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.003348, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.003622, allocations: 47.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.003902, allocations: 95.52 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004062, allocations: 87.55 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004201, allocations: 107.7 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.00428, allocations: 4 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.004357, allocations: 63.75 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.004422, allocations: 23.92 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.004436, allocations: 4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.00451, allocations: 43.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.004564, allocations: 23.91 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.004612, allocations: 27.86 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.004799, allocations: 103.6 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004801, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004802, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004807, allocations: 4 kB / 382.3 MB, free: 14.54 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.0004652/0.005272, allocations: 463.7 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.005308, allocations: 12.03 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.005357, allocations: 16.84 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005518, allocations: 157.2 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.005539, allocations: 4.359 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.005556, allocations: 4.375 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.005662, allocations: 66.88 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.005673, allocations: 4.188 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.005682, allocations: 384 / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.00569, allocations: 11.92 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.005723, allocations: 11.98 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.006038, allocations: 291.8 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.006143, allocations: 55.11 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.006173, allocations: 19.69 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.006182, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.232e-05/0.006275, allocations: 72.97 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.006276, allocations: 0 / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003729/0.006649, allocations: 165.3 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.006678, allocations: 55.41 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.006818, allocations: 255.1 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.006832, allocations: 29.7 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.006887, allocations: 158.9 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.006912, allocations: 27.78 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.006941, allocations: 27.38 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.00705, allocations: 0.5001 MB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.007072, allocations: 8 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.007108, allocations: 43.23 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.183e-05/0.007159, allocations: 47.38 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.00716, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001006/0.007261, allocations: 109.4 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007272, allocations: 4 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007277, allocations: 0 / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.007289, allocations: 3.938 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.007351, allocations: 16 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007356, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.007381, allocations: 3.984 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.007386, allocations: 4 kB / 384.9 MB, free: 11.71 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 6.964e-05/0.007456, allocations: 168.5 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.007473, allocations: 23.84 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.007607, allocations: 107.1 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.007613, allocations: 0 / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.007617, allocations: 0 / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.00762, allocations: 384 / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.007875, allocations: 400.9 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007876, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.0079, allocations: 12 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007903, allocations: 4.031 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.007911, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007913, allocations: 4 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007915, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.008046, allocations: 259.4 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.008058, allocations: 19.89 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008074, allocations: 4 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.00811, allocations: 0 / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.008141, allocations: 11.97 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.008153, allocations: 8 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.008235, allocations: 183.1 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008235, allocations: 0 / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.008415, allocations: 23.94 kB / 386.1 MB, free: 10.42 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.000839/0.009254, allocations: 431.4 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.00937, allocations: 51.59 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009371, allocations: 3.938 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.009413, allocations: 39.55 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.009629, allocations: 32.11 kB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.009959, allocations: 241.5 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01, allocations: 75.27 kB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.01004, allocations: 25.25 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.01006, allocations: 16.5 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01007, allocations: 0 / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of Templates: time 0.0036/0.01367, allocations: 2.002 MB / 389 MB, free: 7.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.3632981390692294]