Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001488/0.001488, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001597/0.001597, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.357/1.357, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.2207/0.2207, allocations: 46.92 MB / 361.5 MB, free: 4.191 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 75.88 kB / 0.4975 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2759, allocations: 66.08 MB / 0.562 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003273/0.2792, allocations: 1.947 MB / 0.5639 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.2811, allocations: 1.15 MB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.2812, allocations: 3.938 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.2815, allocations: 159.5 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.282, allocations: 187.3 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2822, allocations: 119.6 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.2826, allocations: 243.3 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2827, allocations: 21.95 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.2829, allocations: 127.5 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.2831, allocations: 139.5 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2831, allocations: 8 kB / 0.566 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2832, allocations: 63.98 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2833, allocations: 55.7 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.2834, allocations: 83.36 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.2837, allocations: 225.4 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2837, allocations: 0 / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2837, allocations: 4 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2837, allocations: 0 / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007183/0.2844, allocations: 484.4 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2845, allocations: 8.031 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.2845, allocations: 28.75 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.2849, allocations: 222.5 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2849, allocations: 12.31 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2849, allocations: 4.375 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.2851, allocations: 117.9 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2852, allocations: 0 / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2852, allocations: 4 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2852, allocations: 4 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2853, allocations: 43.95 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.2858, allocations: 443.8 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.2862, allocations: 121.2 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.2863, allocations: 45.77 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2863, allocations: 4 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.2866, allocations: 125 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.2866, allocations: 0 / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001236/0.2878, allocations: 497.7 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.2879, allocations: 81.11 kB / 0.5686 GB, free: 13.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.2882, allocations: 376.5 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2883, allocations: 37.69 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2884, allocations: 136.6 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.2885, allocations: 83.36 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.2885, allocations: 49.58 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2887, allocations: 338.8 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2888, allocations: 59.97 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2889, allocations: 100.6 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.2892, allocations: 151.6 kB / 0.5699 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2892, allocations: 4 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003813/0.2896, allocations: 233.3 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2896, allocations: 4 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2896, allocations: 3.984 kB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2896, allocations: 7.938 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2898, allocations: 43.92 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2898, allocations: 4 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.2898, allocations: 4 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2899, allocations: 15.98 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001465/0.29, allocations: 162.2 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.2901, allocations: 27.81 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.2905, allocations: 259.2 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2905, allocations: 4 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2905, allocations: 4 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2906, allocations: 3.984 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.2914, allocations: 0.6912 MB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2914, allocations: 0 / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.2915, allocations: 31.94 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2915, allocations: 4 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2915, allocations: 7.984 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2916, allocations: 4 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2916, allocations: 4.125 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.292, allocations: 422 kB / 0.5717 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2921, allocations: 31.8 kB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.2921, allocations: 8 kB / 0.5718 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2922, allocations: 7.984 kB / 0.5718 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.2923, allocations: 23.91 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.2923, allocations: 15.94 kB / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.2926, allocations: 275 kB / 0.5721 GB, free: 9.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2926, allocations: 0 / 0.5721 GB, free: 9.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.2929, allocations: 51.92 kB / 0.5721 GB, free: 9.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001871/0.2948, allocations: 0.5076 MB / 0.5726 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.2951, allocations: 147.8 kB / 0.5728 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2951, allocations: 0 / 0.5728 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.2953, allocations: 75.83 kB / 0.5728 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.2958, allocations: 72.7 kB / 0.5729 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/0.2967, allocations: 0.5292 MB / 0.5734 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.2971, allocations: 0.7636 MB / 0.5742 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.2971, allocations: 31.44 kB / 0.5742 GB, free: 7.477 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2971, allocations: 0 / 0.5742 GB, free: 7.477 MB / 414.1 MB Notification: Performance of Templates: time 0.005781/0.3029, allocations: 3.615 MB / 0.5777 GB, free: 3.871 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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: 7.296442426973954]