Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001116/0.001116, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.002867, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.001111/0.001111, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002645, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.041/1.041, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08862/1.13, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.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.2975/0.2975, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0306/0.3281, allocations: 13.24 MB / 292.8 MB, free: 6.395 MB / 282.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.827e-06/3.827e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.197e-05, allocations: 3.516 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00364/0.003672, allocations: 1.808 MB / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.005413, allocations: 1.025 MB / 297 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.005519, allocations: 3.938 kB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.005796, allocations: 55.69 kB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.006133, allocations: 103.4 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.006422, allocations: 83.55 kB / 297.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.006651, allocations: 103.6 kB / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.006751, allocations: 7.984 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.006952, allocations: 86.62 kB / 297.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.007056, allocations: 23.91 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.007077, allocations: 8 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.007208, allocations: 51.8 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.007278, allocations: 23.92 kB / 297.6 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.007324, allocations: 19.94 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.007575, allocations: 111.5 kB / 297.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.007593, allocations: 4 kB / 297.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.007595, allocations: 0 / 297.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.007607, allocations: 3.938 kB / 297.7 MB, free: 1.473 MB / 282.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.000586/0.008193, allocations: 360.8 kB / 298 MB, free: 1.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.008235, allocations: 15.44 kB / 298.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.008285, allocations: 8.922 kB / 298.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.008531, allocations: 166.4 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.008557, allocations: 4.375 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.008588, allocations: 12.38 kB / 298.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.00876, allocations: 57.77 kB / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.008774, allocations: 192 / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.008784, allocations: 384 / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.008794, allocations: 7.938 kB / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.008836, allocations: 15.92 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.009188, allocations: 165.9 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.009333, allocations: 85.36 kB / 298.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.009365, allocations: 12.86 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.009386, allocations: 4 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.009532, allocations: 70.14 kB / 298.7 MB, free: 416 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.444e-06/0.009534, allocations: 0 / 298.7 MB, free: 416 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000452/0.009986, allocations: 121.4 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.01003, allocations: 55.41 kB / 298.8 MB, free: 220 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.01026, allocations: 216.1 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.01029, allocations: 25.7 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.01035, allocations: 100 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.0104, allocations: 23.84 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.01045, allocations: 21.7 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.01057, allocations: 330.8 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.01061, allocations: 14.81 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.01065, allocations: 22.94 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.026e-05/0.01072, allocations: 44.44 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01072, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001273/0.01085, allocations: 72.5 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.01087, allocations: 11.94 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.01088, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.01089, allocations: 3.938 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.01101, allocations: 28.02 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01101, allocations: 0 / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.01107, allocations: 4.375 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01107, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.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.0001029/0.01118, allocations: 120.6 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.0112, allocations: 15.92 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.01139, allocations: 79.06 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.0114, allocations: 8 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.0114, allocations: 0 / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01141, allocations: 0 / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01183, allocations: 299.4 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.01184, allocations: 7.922 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.01191, allocations: 12 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.01195, allocations: 15.91 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.01195, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01197, allocations: 4 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.01197, allocations: 3.938 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01197, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.01221, allocations: 216 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.01225, allocations: 4 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.01233, allocations: 8.031 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.01237, allocations: 7.922 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.0124, allocations: 7.984 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.01252, allocations: 79.61 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01252, allocations: 0 / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01279, allocations: 20 kB / 300.6 MB, free: 14.3 MB / 298.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.002537/0.01533, allocations: 0.6127 MB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.01548, allocations: 44.78 kB / 301.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/0.01549, allocations: 7.984 kB / 301.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.01555, allocations: 29.02 kB / 301.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.01595, allocations: 194 kB / 301.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.01673, allocations: 264.5 kB / 301.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.753e-05/0.0168, allocations: 75.19 kB / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.01686, allocations: 12.97 kB / 301.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.01695, allocations: 71.31 kB / 301.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01695, allocations: 4 kB / 301.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of Templates: time 0.005871/0.02282, allocations: 2.067 MB / 304 MB, free: 11.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9074250012636185]