Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001978/0.001979, allocations: 113.4 kB / 17.98 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.002825/0.002825, 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.913/2.913, 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.4138/0.4138, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003024, allocations: 71.53 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2344, allocations: 62.44 MB / 480.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.006311/0.2407, allocations: 1.68 MB / 481.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2429, allocations: 0.5612 MB / 482.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2431, allocations: 4 kB / 482.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.2441, allocations: 443.2 kB / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008852/0.2451, allocations: 287.4 kB / 483.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.2461, allocations: 158.6 kB / 483.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.2466, allocations: 175.6 kB / 483.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2468, allocations: 16 kB / 483.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.2471, allocations: 107.8 kB / 483.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.2475, allocations: 223.5 kB / 483.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.2476, allocations: 0 / 483.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.2478, allocations: 31.98 kB / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.248, allocations: 83.69 kB / 483.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2482, allocations: 111 kB / 484 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.2486, allocations: 187.8 kB / 484.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2486, allocations: 0 / 484.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2486, allocations: 0 / 484.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.2487, allocations: 0 / 484.2 MB, free: 1.559 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.001292/0.25, allocations: 0.6454 MB / 484.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.2501, allocations: 8.031 kB / 484.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2502, allocations: 44.38 kB / 484.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.2507, allocations: 296.2 kB / 485.2 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2508, allocations: 4.375 kB / 485.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2508, allocations: 384 / 485.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2511, allocations: 61.8 kB / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2511, allocations: 0 / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.2512, allocations: 0 / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2512, allocations: 0 / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.2514, allocations: 39.91 kB / 485.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.2523, allocations: 396.8 kB / 485.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2526, allocations: 46.55 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2527, allocations: 24.94 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.2528, allocations: 0 / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.2529, allocations: 42.44 kB / 485.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.2529, allocations: 0 / 485.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006495/0.2535, allocations: 129.1 kB / 485.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.2536, allocations: 51.41 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.2551, allocations: 0.8614 MB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2551, allocations: 25.7 kB / 486.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.2554, allocations: 212.1 kB / 487 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.2555, allocations: 19.83 kB / 487.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.2555, allocations: 13.72 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.2558, allocations: 366.7 kB / 487.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.256, allocations: 15.97 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2561, allocations: 19.98 kB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2564, allocations: 57.03 kB / 487.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2564, allocations: 7.938 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004331/0.2569, allocations: 109.1 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.2569, allocations: 8 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.257, allocations: 0 / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.257, allocations: 0 / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2572, allocations: 11.98 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2572, allocations: 0 / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2573, allocations: 4 kB / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.2574, allocations: 0 / 487.7 MB, free: 13.85 MB / 366.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 (3): * Single equations (assignments): 3 * 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.0003684/0.2578, allocations: 221.7 kB / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2579, allocations: 43.44 kB / 487.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.2584, allocations: 125 kB / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2584, allocations: 0 / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2584, allocations: 0 / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2584, allocations: 0 / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.2589, allocations: 289.5 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.259, allocations: 11.98 kB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.2591, allocations: 4 kB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2591, allocations: 0 / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2591, allocations: 4 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2592, allocations: 0 / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2592, allocations: 0 / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.2597, allocations: 214.8 kB / 488.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.2598, allocations: 112.6 kB / 488.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.2599, allocations: 4 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2601, allocations: 0 / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2601, allocations: 4 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2601, allocations: 0 / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001076/0.2612, allocations: 0.655 MB / 489.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.2612, allocations: 3.938 kB / 489.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.2617, allocations: 16 kB / 489.3 MB, free: 12.06 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 (3): * Single equations (assignments): 3 * 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.00171/0.2635, allocations: 352.6 kB / 489.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.2639, allocations: 47.84 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.2639, allocations: 4 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2641, allocations: 27.97 kB / 489.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.2649, allocations: 25.3 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.2673, allocations: 0.9061 MB / 490.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/0.2681, allocations: 0.826 MB / 491.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.2682, allocations: 11.44 kB / 491.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2682, allocations: 0 / 491.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of Templates: time 0.01397/0.2822, allocations: 3.564 MB / 495.1 MB, free: 6.348 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches