Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 97.31 kB / 17.2 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.001998/0.001998, allocations: 209.7 kB / 18.14 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.3 MB, free: 10.83 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.2271/0.2271, allocations: 46.11 MB / 343.7 MB, free: 11.8 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.002327/0.002327, allocations: 80.47 kB / 416.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1254, allocations: 62.46 MB / 479.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003473/0.1289, allocations: 1.706 MB / 481.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.13, allocations: 0.534 MB / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.1301, allocations: 4 kB / 481.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1304, allocations: 91.73 kB / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1306, allocations: 91.77 kB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1309, allocations: 87.83 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1311, allocations: 95.75 kB / 482 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1312, allocations: 23.98 kB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.1313, allocations: 39.78 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1314, allocations: 59.81 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1314, allocations: 3.938 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.572e-05/0.1315, allocations: 47.98 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.1316, allocations: 35.83 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.1317, allocations: 39.69 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1319, allocations: 119.9 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1319, allocations: 0 / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1319, allocations: 0 / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1319, allocations: 0 / 482.3 MB, free: 2.707 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.0005662/0.1325, allocations: 430.9 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1325, allocations: 12.81 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.1326, allocations: 16.75 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1328, allocations: 208.5 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1328, allocations: 8.375 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1329, allocations: 4.375 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1331, allocations: 73.78 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1331, allocations: 4 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1331, allocations: 0 / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1331, allocations: 7.938 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1332, allocations: 39.91 kB / 483.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.1337, allocations: 336.6 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1339, allocations: 70.47 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.134, allocations: 24.84 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.134, allocations: 0 / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.134, allocations: 34.56 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.134, allocations: 0 / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001087/0.1351, allocations: 304.9 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1352, allocations: 59.41 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1355, allocations: 235.5 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1355, allocations: 25.7 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.1356, allocations: 116.1 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1356, allocations: 39.36 kB / 484.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1357, allocations: 33.7 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1358, allocations: 322.8 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1359, allocations: 39.92 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.136, allocations: 39.97 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1363, allocations: 91.2 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1363, allocations: 0 / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/0.1365, allocations: 133.6 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1366, allocations: 7.938 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1366, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1366, allocations: 3.938 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1367, allocations: 39.92 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1367, allocations: 3.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1368, allocations: 7.984 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1368, allocations: 0 / 485.1 MB, free: 15.77 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.0001226/0.1369, allocations: 141.8 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.137, allocations: 15.8 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.1374, allocations: 179.3 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.1374, allocations: 11.94 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1374, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1374, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.1381, allocations: 487 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1381, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.1382, allocations: 23.98 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1382, allocations: 7.938 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1382, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1382, allocations: 3.938 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1382, allocations: 4 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.1386, allocations: 244.1 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.1387, allocations: 88.92 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1387, allocations: 8 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1388, allocations: 7.984 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1388, allocations: 4 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1388, allocations: 11.98 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.139, allocations: 173.2 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.139, allocations: 0 / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1393, allocations: 35.98 kB / 486.5 MB, free: 14.24 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.001717/0.141, allocations: 434.4 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1413, allocations: 95.95 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1413, allocations: 0 / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1415, allocations: 55.91 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.142, allocations: 27.67 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.1426, allocations: 349.6 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.143, allocations: 0.7239 MB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.1431, allocations: 20.53 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.1432, allocations: 19.42 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1432, allocations: 0 / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004699/0.1479, allocations: 1.484 MB / 489.7 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches