Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.3 MB, free: 10.82 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.2613/0.2613, allocations: 46.12 MB / 343.7 MB, free: 11.77 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.002198/0.002198, allocations: 87.38 kB / 416.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1273, allocations: 62.45 MB / 479.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00438/0.1317, allocations: 1.669 MB / 481 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1332, allocations: 0.5378 MB / 481.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.1333, allocations: 4 kB / 481.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.1337, allocations: 103.8 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.1341, allocations: 103.7 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1345, allocations: 79.84 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.1347, allocations: 91.73 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1349, allocations: 12 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.135, allocations: 35.91 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1352, allocations: 67.8 kB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1352, allocations: 4 kB / 482.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1354, allocations: 47.97 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.1355, allocations: 27.8 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.1355, allocations: 27.75 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1358, allocations: 111.6 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1358, allocations: 0 / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1358, allocations: 0 / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1359, allocations: 0 / 482.3 MB, free: 2.746 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.0007559/0.1366, allocations: 431.1 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1367, allocations: 12.03 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.1367, allocations: 12.84 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1371, allocations: 212.7 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1371, allocations: 4.375 kB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1371, allocations: 384 / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1374, allocations: 61.73 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1374, allocations: 4 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1374, allocations: 0 / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1374, allocations: 0 / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1376, allocations: 23.98 kB / 483 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.1381, allocations: 308.7 kB / 483.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1383, allocations: 42.5 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.1384, allocations: 24.94 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1385, allocations: 0 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.1385, allocations: 34.56 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.817e-06/0.1385, allocations: 3.984 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001201/0.1397, allocations: 225 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1398, allocations: 55.41 kB / 483.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.1402, allocations: 266 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1402, allocations: 25.7 kB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.1403, allocations: 112.1 kB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1404, allocations: 27.56 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1404, allocations: 25.64 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1406, allocations: 322.8 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1407, allocations: 28.05 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.1409, allocations: 28.06 kB / 484.5 MB, free: 292 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.1411, allocations: 68.97 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1411, allocations: 0 / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003038/0.1414, allocations: 105.5 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/0.1415, allocations: 4 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1415, allocations: 0 / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1415, allocations: 4 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1417, allocations: 23.92 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1417, allocations: 0 / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.1418, allocations: 11.88 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1418, allocations: 4 kB / 484.7 MB, free: 60 kB / 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 (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.0001565/0.1419, allocations: 129.8 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.142, allocations: 11.91 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.1425, allocations: 123 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1425, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1426, allocations: 7.938 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1426, allocations: 3.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.1434, allocations: 403.3 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1434, allocations: 4 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.1435, allocations: 20.02 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1435, allocations: 3.938 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1436, allocations: 8 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1436, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1436, allocations: 0 / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.144, allocations: 208.1 kB / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.1441, allocations: 96.95 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1441, allocations: 0 / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1442, allocations: 11.98 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1443, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1443, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1445, allocations: 188.4 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1445, allocations: 0 / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.1449, allocations: 23.98 kB / 486 MB, free: 14.72 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.002173/0.1471, allocations: 455.2 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.1474, allocations: 63.91 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1474, allocations: 4 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1476, allocations: 35.97 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.1481, allocations: 19.94 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.149, allocations: 321.1 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.1495, allocations: 0.7179 MB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.1496, allocations: 16.92 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.1497, allocations: 11.44 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.916e-06/0.1497, allocations: 0 / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Templates: time 0.005116/0.1548, allocations: 1.331 MB / 488.9 MB, free: 11.87 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches