Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 76.22 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1315, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003598/0.1351, allocations: 1.622 MB / 482.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1362, allocations: 0.5416 MB / 482.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.1363, allocations: 0 / 482.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1366, allocations: 67.78 kB / 482.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.137, allocations: 103.6 kB / 483 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1373, allocations: 91.7 kB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1375, allocations: 75.88 kB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1377, allocations: 19.98 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.1377, allocations: 31.86 kB / 483.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1378, allocations: 55.75 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1379, allocations: 0 / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.138, allocations: 47.98 kB / 483.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.1381, allocations: 19.92 kB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.1381, allocations: 35.73 kB / 483.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1383, allocations: 99.7 kB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1384, allocations: 0 / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1384, allocations: 0 / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1384, allocations: 0 / 483.5 MB, free: 2.477 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005368/0.1389, allocations: 407.3 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.139, allocations: 8.031 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.139, allocations: 12.75 kB / 483.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1393, allocations: 208 kB / 484.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1393, allocations: 8.312 kB / 484.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1393, allocations: 384 / 484.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1395, allocations: 53.81 kB / 484.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1395, allocations: 0 / 484.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1395, allocations: 7.984 kB / 484.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1395, allocations: 0 / 484.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.909e-05/0.1396, allocations: 27.97 kB / 484.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.14, allocations: 292.8 kB / 484.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1402, allocations: 42.56 kB / 484.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.1402, allocations: 20.94 kB / 484.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1402, allocations: 0 / 484.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1403, allocations: 30.56 kB / 484.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.736e-06/0.1403, allocations: 8 kB / 484.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009258/0.1412, allocations: 229 kB / 484.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1413, allocations: 51.41 kB / 484.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1415, allocations: 207.3 kB / 485.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1415, allocations: 29.7 kB / 485.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.1416, allocations: 100.1 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1416, allocations: 35.48 kB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1416, allocations: 21.72 kB / 485.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1418, allocations: 322.8 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.1418, allocations: 23.98 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.1419, allocations: 24 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1421, allocations: 65.05 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1421, allocations: 4 kB / 485.7 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002308/0.1423, allocations: 105.5 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1423, allocations: 4 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1424, allocations: 0 / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1424, allocations: 4 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.1425, allocations: 15.98 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1425, allocations: 4 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1426, allocations: 7.938 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1426, allocations: 15.92 kB / 485.8 MB, free: 15.9 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 (8): * Single equations (assignments): 8 * 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 9.173e-05/0.1427, allocations: 121.8 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1427, allocations: 11.81 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.143, allocations: 115 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.143, allocations: 8 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.143, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.143, allocations: 3.938 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1436, allocations: 403.3 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1436, allocations: 0 / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.1437, allocations: 15.98 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1437, allocations: 11.97 kB / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1437, allocations: 0 / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1437, allocations: 0 / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1437, allocations: 0 / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.144, allocations: 208.1 kB / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1441, allocations: 93.36 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.1442, allocations: 8 kB / 486.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1442, allocations: 4 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1443, allocations: 7.984 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1443, allocations: 4 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1444, allocations: 151.9 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1444, allocations: 0 / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1447, allocations: 20 kB / 487 MB, free: 14.62 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 (8): * Single equations (assignments): 8 * 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.001123/0.1458, allocations: 460.9 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1461, allocations: 75.88 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1461, allocations: 0 / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.1462, allocations: 35.92 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1466, allocations: 22.98 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.1471, allocations: 272.9 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1475, allocations: 0.708 MB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1475, allocations: 11.44 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1476, allocations: 0 / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.00397/0.1515, allocations: 1.735 MB / 490.3 MB, free: 11.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches