Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test28,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 118.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.5 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.233/0.233, allocations: 46.12 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 87.56 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1405, allocations: 62.45 MB / 479.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003159/0.1437, allocations: 1.673 MB / 481.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.1447, allocations: 0.5377 MB / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.1448, allocations: 0 / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1451, allocations: 111.8 kB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1453, allocations: 103.7 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1457, allocations: 111.2 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1458, allocations: 75.89 kB / 482.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1459, allocations: 23.97 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.146, allocations: 43.78 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1461, allocations: 63.81 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1461, allocations: 8 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.1462, allocations: 43.98 kB / 482.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.1463, allocations: 31.91 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.1463, allocations: 39.67 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1465, allocations: 119.6 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1465, allocations: 0 / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1465, allocations: 0 / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1465, allocations: 0 / 482.5 MB, free: 2.586 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.000527/0.1471, allocations: 423.1 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1471, allocations: 16.03 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.1472, allocations: 8.844 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1474, allocations: 208.8 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1474, allocations: 4.375 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1474, allocations: 4.375 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1476, allocations: 61.73 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1476, allocations: 0 / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1476, allocations: 4 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1476, allocations: 3.984 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.1478, allocations: 27.98 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1482, allocations: 308.7 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1483, allocations: 50.42 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1484, allocations: 16.86 kB / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1484, allocations: 12 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1485, allocations: 38.64 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1485, allocations: 0 / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009028/0.1494, allocations: 237 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1494, allocations: 55.41 kB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.1497, allocations: 258.1 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1498, allocations: 25.7 kB / 484.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.1498, allocations: 108.1 kB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1499, allocations: 31.55 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1499, allocations: 21.72 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1501, allocations: 330.8 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.1502, allocations: 35.97 kB / 484.8 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1503, allocations: 27.92 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1504, allocations: 77.03 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1504, allocations: 0 / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000251/0.1507, allocations: 117.5 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1507, allocations: 10.81 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1507, allocations: 0 / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1508, allocations: 4 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.1509, allocations: 15.98 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1509, allocations: 4 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1509, allocations: 11.86 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.151, allocations: 8 kB / 485 MB, free: 15.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 (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 0.000119/0.1511, allocations: 129.8 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.1511, allocations: 11.91 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.1514, allocations: 138.9 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1514, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1514, allocations: 4 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1515, allocations: 3.938 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.152, allocations: 427.2 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1521, allocations: 4.031 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.1521, allocations: 19.92 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1522, allocations: 3.938 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1522, allocations: 4 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1522, allocations: 0 / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1522, allocations: 0 / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1525, allocations: 220.2 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.1525, allocations: 84.95 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1526, allocations: 4 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.1526, allocations: 7.984 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1527, allocations: 12.34 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1527, allocations: 4 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1529, allocations: 192.3 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 0 / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1531, allocations: 27.98 kB / 486.3 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: 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.00161/0.1548, allocations: 448 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.155, allocations: 83.88 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.155, allocations: 0 / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.1551, allocations: 35.98 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1555, allocations: 35.22 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.1561, allocations: 331.4 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1565, allocations: 0.7176 MB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.066e-05/0.1565, allocations: 24.64 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1566, allocations: 15.44 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1566, allocations: 0 / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004518/0.1611, allocations: 1.379 MB / 489.4 MB, free: 11.52 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches