Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001745/0.001745, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002228/0.002228, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.526/1.526, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 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.2431/0.2431, allocations: 46.96 MB / 361.6 MB, free: 3.918 MB / 286.1 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 79.88 kB / 0.4974 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3735, allocations: 66.09 MB / 0.562 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003699/0.3772, allocations: 1.706 MB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.379, allocations: 0.9671 MB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.3791, allocations: 7.938 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3794, allocations: 43.78 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.3797, allocations: 95.59 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.3799, allocations: 83.66 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3801, allocations: 107.7 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.3802, allocations: 4 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.3803, allocations: 43.78 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.3804, allocations: 39.72 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3804, allocations: 8 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.3805, allocations: 43.97 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.3805, allocations: 19.92 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.3806, allocations: 27.81 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3808, allocations: 121.9 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3808, allocations: 3.984 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3808, allocations: 3.938 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.3808, allocations: 0 / 0.5652 GB, free: 0.6016 MB / 398.1 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.0005885/0.3814, allocations: 353.5 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3815, allocations: 12.03 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.3815, allocations: 8.891 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3818, allocations: 166.3 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.3818, allocations: 384 / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.3818, allocations: 4.375 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.382, allocations: 58.06 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.382, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.382, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.382, allocations: 4 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.3821, allocations: 19.92 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.3825, allocations: 236.6 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3827, allocations: 62.61 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.3827, allocations: 20.84 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3828, allocations: 4 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.3829, allocations: 67.33 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3829, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005866/0.3835, allocations: 189.2 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.3836, allocations: 51.41 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.3839, allocations: 226 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3839, allocations: 33.7 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.384, allocations: 112.1 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.384, allocations: 15.86 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.384, allocations: 29.64 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3842, allocations: 330.8 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.3843, allocations: 19.98 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.3843, allocations: 37.7 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3845, allocations: 61.66 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3845, allocations: 4.359 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002626/0.3847, allocations: 113.6 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3847, allocations: 4 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3848, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3848, allocations: 8 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3849, allocations: 19.98 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3849, allocations: 0 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.3849, allocations: 4 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3849, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 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.0001297/0.3851, allocations: 133.8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3851, allocations: 15.94 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.3854, allocations: 123 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3854, allocations: 0 / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3854, allocations: 0 / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3854, allocations: 3.984 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.3859, allocations: 346.9 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3859, allocations: 0 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.3859, allocations: 15.92 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3859, allocations: 7.984 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3859, allocations: 4 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3859, allocations: 4.031 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3859, allocations: 4.281 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3862, allocations: 216.1 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.3862, allocations: 11.94 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3863, allocations: 8 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3863, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3864, allocations: 11.92 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3864, allocations: 4 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3866, allocations: 159.2 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3869, allocations: 31.98 kB / 0.5684 GB, free: 13.02 MB / 414.1 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.001884/0.3888, allocations: 483.2 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.389, allocations: 67.89 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.389, allocations: 4.062 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.3891, allocations: 27.92 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3894, allocations: 32.3 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.39, allocations: 276.6 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.3901, allocations: 96.67 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3902, allocations: 19.44 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3902, allocations: 4.062 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.004472/0.3946, allocations: 2.01 MB / 0.5714 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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: 8.046588315162808]