Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.00154, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.00184, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2748/0.2748, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003072/0.003072, allocations: 81.89 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2173, allocations: 62.44 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00601/0.2234, allocations: 1.785 MB / 481.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.2264, allocations: 1.01 MB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.2266, allocations: 0 / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.2272, allocations: 43.83 kB / 483 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.2277, allocations: 79.73 kB / 483.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.2282, allocations: 67.81 kB / 483.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2285, allocations: 107.7 kB / 483.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2287, allocations: 8 kB / 483.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.2289, allocations: 43.8 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.229, allocations: 39.7 kB / 483.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2291, allocations: 4 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.2293, allocations: 39.98 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.2294, allocations: 23.91 kB / 483.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.2295, allocations: 35.75 kB / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.2298, allocations: 92.09 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2298, allocations: 0 / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2298, allocations: 4 kB / 483.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.2299, allocations: 0 / 483.5 MB, free: 2.215 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.0009491/0.2308, allocations: 418.9 kB / 483.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.842e-05/0.2309, allocations: 12.03 kB / 484 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.231, allocations: 8.844 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.2314, allocations: 212.7 kB / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2315, allocations: 384 / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.2315, allocations: 8.125 kB / 484.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.2318, allocations: 57.67 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2318, allocations: 0 / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2318, allocations: 0 / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2318, allocations: 0 / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.232, allocations: 23.92 kB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.2326, allocations: 300.8 kB / 484.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2329, allocations: 50.69 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.233, allocations: 24.84 kB / 484.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.2331, allocations: 0 / 484.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.2334, allocations: 71.33 kB / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.2334, allocations: 0 / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008834/0.2343, allocations: 177.2 kB / 484.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.2344, allocations: 59.34 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2347, allocations: 186.9 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.2347, allocations: 33.7 kB / 485.1 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.2348, allocations: 104.1 kB / 485.2 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.2349, allocations: 19.72 kB / 485.3 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.235, allocations: 25.7 kB / 485.3 MB, free: 256 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2352, allocations: 326.8 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.2353, allocations: 16 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2354, allocations: 41.7 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.2356, allocations: 65.62 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2356, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000315/0.236, allocations: 97.5 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.236, allocations: 7.984 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.236, allocations: 0 / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.236, allocations: 32 / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2362, allocations: 27.94 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.2362, allocations: 0 / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.2363, allocations: 3.938 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2363, allocations: 7.984 kB / 485.9 MB, free: 15.64 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.0001594/0.2365, allocations: 125.8 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2366, allocations: 11.91 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.2366, allocations: 17.39 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2367, allocations: 0 / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.2367, allocations: 11.98 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2367, allocations: 3.938 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.2374, allocations: 391.2 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.2374, allocations: 4 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.2375, allocations: 7.984 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.2375, allocations: 4 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2376, allocations: 7.875 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2376, allocations: 0 / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.2376, allocations: 8.266 kB / 486.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.238, allocations: 200.3 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.2381, allocations: 84.92 kB / 486.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.2381, allocations: 12.3 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2383, allocations: 4 kB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.2383, allocations: 4.188 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.2384, allocations: 15.98 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.2386, allocations: 152.7 kB / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2386, allocations: 0 / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.2391, allocations: 27.98 kB / 486.9 MB, free: 14.46 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.001847/0.241, allocations: 464.9 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.2413, allocations: 63.91 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2413, allocations: 3.938 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2415, allocations: 31.97 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.2421, allocations: 23.98 kB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.2429, allocations: 288.7 kB / 487.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.2433, allocations: 0.7041 MB / 488.5 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.2434, allocations: 19.44 kB / 488.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2434, allocations: 0 / 488.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.009751/0.2532, allocations: 1.941 MB / 490.5 MB, free: 11.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches