Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002498/0.002498, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.351/2.351, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3917/0.3917, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003244/0.003244, allocations: 73.05 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2237, allocations: 62.45 MB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.005601/0.2294, allocations: 1.708 MB / 481.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2314, allocations: 0.5338 MB / 482.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.2315, allocations: 0 / 482.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.232, allocations: 91.78 kB / 482.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.2326, allocations: 103.7 kB / 482.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.2331, allocations: 87.83 kB / 482.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.2334, allocations: 95.8 kB / 482.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2336, allocations: 23.94 kB / 482.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2337, allocations: 39.84 kB / 482.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.2339, allocations: 63.81 kB / 482.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.234, allocations: 4 kB / 482.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.2342, allocations: 51.97 kB / 482.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.2343, allocations: 27.91 kB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.2344, allocations: 35.69 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.2346, allocations: 100.1 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2347, allocations: 0 / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2347, allocations: 3.938 kB / 483.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2347, allocations: 0 / 483.1 MB, free: 2.656 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000806/0.2355, allocations: 434.9 kB / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.2356, allocations: 8.031 kB / 483.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.2357, allocations: 12.75 kB / 483.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.236, allocations: 208.5 kB / 483.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2361, allocations: 4.375 kB / 483.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.2361, allocations: 4.375 kB / 483.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.2364, allocations: 77.72 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2365, allocations: 4 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2365, allocations: 0 / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2365, allocations: 7.938 kB / 483.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.2367, allocations: 43.91 kB / 483.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.2374, allocations: 328.6 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.2376, allocations: 70.47 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.2377, allocations: 24.84 kB / 484.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.2378, allocations: 4 kB / 484.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.2378, allocations: 30.56 kB / 484.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.2379, allocations: 0 / 484.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002739/0.2406, allocations: 317 kB / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2407, allocations: 55.34 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.2411, allocations: 239.5 kB / 484.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2412, allocations: 25.7 kB / 485 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2413, allocations: 112.1 kB / 485.1 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.2414, allocations: 43.36 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.2415, allocations: 29.7 kB / 485.2 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2417, allocations: 326.8 kB / 485.5 MB, free: 84 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2419, allocations: 39.98 kB / 485.5 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2421, allocations: 35.97 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.2426, allocations: 88.83 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2426, allocations: 0 / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005457/0.2432, allocations: 141.5 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2432, allocations: 14.28 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2432, allocations: 0 / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.2433, allocations: 3.938 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.2435, allocations: 31.97 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2436, allocations: 0 / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2437, allocations: 7.984 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.2437, allocations: 4 kB / 485.8 MB, free: 15.71 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 (13): * Single equations (assignments): 13 * 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.0001796/0.2439, allocations: 137.8 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.244, allocations: 15.81 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.2447, allocations: 170.5 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2447, allocations: 3.938 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.2448, allocations: 4 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2448, allocations: 0 / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.246, allocations: 495 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.246, allocations: 0 / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.2462, allocations: 27.92 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2463, allocations: 3.938 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.2463, allocations: 4 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2463, allocations: 0 / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2463, allocations: 0 / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.247, allocations: 244.1 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.2471, allocations: 88.92 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.2471, allocations: 7.938 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.2473, allocations: 8 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.2474, allocations: 11.92 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2475, allocations: 12 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.2478, allocations: 181.2 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2478, allocations: 0 / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005591/0.2484, allocations: 24 kB / 487.2 MB, free: 14.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002155/0.2505, allocations: 453.5 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.2511, allocations: 99.52 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.2512, allocations: 4 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.2514, allocations: 51.91 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.2522, allocations: 19.94 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2532, allocations: 385.6 kB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.2537, allocations: 0.7197 MB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.2538, allocations: 19.44 kB / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2538, allocations: 0 / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.008136/0.262, allocations: 2.06 MB / 491 MB, free: 10.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches