Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 116.4 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002184/0.002184, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.057/2.057, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3794/0.3794, allocations: 46.11 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 79.47 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2715, allocations: 62.44 MB / 480.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004422/0.276, allocations: 1.784 MB / 481.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.2783, allocations: 1.013 MB / 483 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.2785, allocations: 3.938 kB / 483 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.2789, allocations: 51.88 kB / 483 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.2794, allocations: 79.73 kB / 483.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.2796, allocations: 67.83 kB / 483.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.2799, allocations: 107.7 kB / 483.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2801, allocations: 23.97 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2802, allocations: 43.73 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.2803, allocations: 35.8 kB / 483.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.2803, allocations: 4 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2805, allocations: 43.97 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.2806, allocations: 27.91 kB / 483.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.2807, allocations: 39.69 kB / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.2809, allocations: 116 kB / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2809, allocations: 0 / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2809, allocations: 0 / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.281, allocations: 4 kB / 483.6 MB, free: 2.141 MB / 350.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.0007722/0.2817, allocations: 442.7 kB / 484 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2818, allocations: 12.03 kB / 484 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.2819, allocations: 8.844 kB / 484 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.2822, allocations: 216.9 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2823, allocations: 4.359 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.2823, allocations: 12.12 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.2825, allocations: 53.61 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2826, allocations: 4 kB / 484.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2826, allocations: 4 kB / 484.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2826, allocations: 4 kB / 484.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.2827, allocations: 15.98 kB / 484.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.2832, allocations: 296.9 kB / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.2835, allocations: 58.61 kB / 484.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.395e-05/0.2836, allocations: 28.78 kB / 484.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2836, allocations: 7.938 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.2839, allocations: 63.39 kB / 484.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.2839, allocations: 0 / 484.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007566/0.2846, allocations: 197 kB / 485 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2847, allocations: 55.41 kB / 485 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.2851, allocations: 267 kB / 485.3 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2851, allocations: 25.7 kB / 485.3 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.2852, allocations: 112.1 kB / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.2853, allocations: 23.7 kB / 485.5 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.2853, allocations: 25.72 kB / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2855, allocations: 326.8 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.2856, allocations: 23.98 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.2857, allocations: 41.64 kB / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2859, allocations: 61.7 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2859, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002715/0.2862, allocations: 105.4 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2862, allocations: 4 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2862, allocations: 0 / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2863, allocations: 0 / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2864, allocations: 24.02 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2864, allocations: 0 / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.2865, allocations: 11.88 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.2865, allocations: 4 kB / 486.1 MB, free: 15.41 MB / 366.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.0001464/0.2867, allocations: 137.8 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.2868, allocations: 15.81 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.2868, allocations: 21.55 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2868, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2868, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2869, allocations: 7.938 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.2875, allocations: 411.3 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2875, allocations: 3.984 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.2876, allocations: 11.98 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2876, allocations: 0 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2876, allocations: 3.938 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2876, allocations: 4 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2876, allocations: 3.938 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.2879, allocations: 204.4 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.288, allocations: 88.92 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.2881, allocations: 19.8 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2882, allocations: 4 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.2882, allocations: 4.375 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2883, allocations: 7.984 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.2885, allocations: 204.4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2886, allocations: 4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.289, allocations: 20 kB / 487.2 MB, free: 14.16 MB / 366.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 (8): * Single equations (assignments): 6 * 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.001591/0.2906, allocations: 464.3 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.2909, allocations: 59.92 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2909, allocations: 0 / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.291, allocations: 35.91 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.2916, allocations: 27.97 kB / 487.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.2923, allocations: 357.4 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2927, allocations: 0.7197 MB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.2928, allocations: 19.42 kB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2928, allocations: 0 / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.005826/0.2986, allocations: 2.097 MB / 491 MB, free: 10.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches