Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.587/2.587, allocations: 227.4 MB / 247.1 MB, free: 8.977 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3241/0.3241, allocations: 46.1 MB / 344.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002632/0.002632, allocations: 76.78 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2046, allocations: 62.45 MB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004962/0.2096, allocations: 1.777 MB / 481.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.2124, allocations: 1.006 MB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2125, allocations: 3.938 kB / 483 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.213, allocations: 47.88 kB / 483 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.2136, allocations: 87.73 kB / 483.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.2139, allocations: 63.83 kB / 483.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2142, allocations: 111.7 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2143, allocations: 4 kB / 483.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2145, allocations: 47.78 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2147, allocations: 39.72 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.2147, allocations: 4 kB / 483.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2149, allocations: 39.98 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.215, allocations: 27.92 kB / 483.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.2151, allocations: 51.64 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.2153, allocations: 96.09 kB / 483.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2154, allocations: 4 kB / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2154, allocations: 0 / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2154, allocations: 0 / 483.6 MB, free: 2.148 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.0007854/0.2162, allocations: 426.8 kB / 484 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2163, allocations: 8.031 kB / 484 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.2163, allocations: 12.84 kB / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.2167, allocations: 221.6 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.2167, allocations: 8.375 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.2168, allocations: 4.125 kB / 484.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.217, allocations: 57.61 kB / 484.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.217, allocations: 3.938 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.2171, allocations: 4 kB / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2171, allocations: 0 / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2172, allocations: 19.92 kB / 484.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.2177, allocations: 304.8 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.218, allocations: 58.67 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2181, allocations: 16.86 kB / 484.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2182, allocations: 4 kB / 484.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003559/0.2186, allocations: 75.23 kB / 484.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.2186, allocations: 0 / 484.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000816/0.2194, allocations: 177.1 kB / 484.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.2195, allocations: 51.41 kB / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.2198, allocations: 234.2 kB / 485.2 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2199, allocations: 29.7 kB / 485.2 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.2199, allocations: 108.1 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.22, allocations: 27.64 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.2201, allocations: 25.72 kB / 485.4 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2203, allocations: 326.8 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2204, allocations: 23.98 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.2205, allocations: 33.7 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2208, allocations: 69.62 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2208, allocations: 0 / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003447/0.2211, allocations: 101.6 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2212, allocations: 8 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2212, allocations: 0 / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2212, allocations: 0 / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2214, allocations: 15.98 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.2214, allocations: 4 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.2215, allocations: 11.84 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2216, allocations: 4.375 kB / 486 MB, free: 15.48 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.0001778/0.2217, allocations: 136.2 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2218, allocations: 11.91 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-05/0.2219, allocations: 17.39 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2219, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2219, allocations: 8 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.222, allocations: 7.875 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.2227, allocations: 399.4 kB / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2228, allocations: 0 / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.2228, allocations: 19.91 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.2228, allocations: 4 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2229, allocations: 7.938 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2229, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.2229, allocations: 3.984 kB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.2233, allocations: 196.3 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.2234, allocations: 92.91 kB / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.2235, allocations: 11.94 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2236, allocations: 4 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2237, allocations: 3.984 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.2237, allocations: 4 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.224, allocations: 184.3 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.224, allocations: 0 / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.2245, allocations: 20 kB / 487.1 MB, free: 14.27 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.001947/0.2264, allocations: 458.1 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.2268, allocations: 63.89 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2268, allocations: 0 / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.227, allocations: 36.05 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.2276, allocations: 28.23 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.2285, allocations: 321.1 kB / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.229, allocations: 0.7119 MB / 488.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.229, allocations: 19.44 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2291, allocations: 0 / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.006821/0.2359, allocations: 2.021 MB / 490.7 MB, free: 10.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches