Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, 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.002017/0.002017, 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 2.654/2.654, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3719/0.3719, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003008/0.003008, allocations: 80.42 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2238, allocations: 62.45 MB / 480.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00947/0.2334, allocations: 1.644 MB / 481.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.2353, allocations: 0.5378 MB / 482.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.2354, allocations: 4 kB / 482.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.2358, allocations: 15.88 kB / 482.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.2364, allocations: 71.75 kB / 482.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.237, allocations: 99.31 kB / 482.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2373, allocations: 63.84 kB / 482.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2374, allocations: 23.97 kB / 482.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.2375, allocations: 23.86 kB / 482.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.2376, allocations: 23.86 kB / 482.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2377, allocations: 0 / 482.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2378, allocations: 35.92 kB / 482.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.2379, allocations: 15.98 kB / 482.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.238, allocations: 27.8 kB / 482.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2382, allocations: 51.92 kB / 482.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2383, allocations: 0 / 482.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2383, allocations: 0 / 482.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.2383, allocations: 0 / 482.8 MB, free: 2.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007174/0.239, allocations: 395.4 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.2391, allocations: 8.031 kB / 483.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.2392, allocations: 8.844 kB / 483.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2395, allocations: 184.3 kB / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2395, allocations: 384 / 483.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.2396, allocations: 12.31 kB / 483.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.2398, allocations: 49.81 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2399, allocations: 3.906 kB / 483.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2399, allocations: 7.938 kB / 483.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2399, allocations: 0 / 483.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2401, allocations: 23.97 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.2407, allocations: 280.9 kB / 483.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.241, allocations: 54.48 kB / 483.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.2411, allocations: 16.86 kB / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2412, allocations: 0 / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2412, allocations: 38.64 kB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.2412, allocations: 0 / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009187/0.2422, allocations: 149.2 kB / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004098/0.2463, allocations: 59.41 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.2466, allocations: 146.2 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2467, allocations: 25.7 kB / 484.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.2468, allocations: 96.12 kB / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.2468, allocations: 15.81 kB / 484.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.2469, allocations: 17.72 kB / 484.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2471, allocations: 322.8 kB / 484.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2473, allocations: 19.98 kB / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.2474, allocations: 28.16 kB / 484.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.2477, allocations: 56.77 kB / 484.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2477, allocations: 0 / 484.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003957/0.2481, allocations: 81.58 kB / 484.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2481, allocations: 14.12 kB / 484.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.2482, allocations: 3.984 kB / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2482, allocations: 4 kB / 484.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2483, allocations: 8 kB / 484.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2484, allocations: 4 kB / 484.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.2484, allocations: 3.984 kB / 484.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2485, allocations: 8 kB / 484.9 MB, free: 0.6719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001374/0.2486, allocations: 121.7 kB / 485 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.2487, allocations: 7.906 kB / 485 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.2492, allocations: 105.9 kB / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2492, allocations: 0 / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2492, allocations: 0 / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2493, allocations: 0 / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.2501, allocations: 358.3 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2501, allocations: 0 / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.2502, allocations: 15.98 kB / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2503, allocations: 4 kB / 485.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2503, allocations: 192 / 485.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.2503, allocations: 4.016 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2504, allocations: 4 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.2508, allocations: 183.6 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.2509, allocations: 85.11 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.251, allocations: 0 / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2511, allocations: 15.92 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.2512, allocations: 7.922 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2512, allocations: 4 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.2514, allocations: 117.5 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2514, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.2519, allocations: 12 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001737/0.2537, allocations: 399.4 kB / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004098/0.2541, allocations: 55.95 kB / 486.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2541, allocations: 0 / 486.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2543, allocations: 27.92 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.255, allocations: 15.98 kB / 486.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.2558, allocations: 235.7 kB / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2562, allocations: 0.6963 MB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.2563, allocations: 15.44 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2563, allocations: 0 / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01023/0.2666, allocations: 1.457 MB / 488.8 MB, free: 12.72 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches