Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 110.6 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 193.3 kB / 18.25 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.25 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.83 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003104/0.1256, allocations: 1.621 MB / 470.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.1264, allocations: 407.3 kB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.1265, allocations: 4 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1268, allocations: 71.77 kB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.127, allocations: 63.81 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1273, allocations: 79.36 kB / 471 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1275, allocations: 67.88 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1276, allocations: 16.17 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.1276, allocations: 39.78 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1277, allocations: 55.89 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1278, allocations: 4 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.1279, allocations: 43.97 kB / 471.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1279, allocations: 19.92 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.128, allocations: 27.75 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1281, allocations: 99.97 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1281, allocations: 0 / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1282, allocations: 4 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1282, allocations: 0 / 471.3 MB, free: 12.14 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.0004818/0.1287, allocations: 410.9 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1287, allocations: 12.03 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.1287, allocations: 8.844 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1289, allocations: 196.1 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1289, allocations: 8.359 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.129, allocations: 384 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1291, allocations: 61.61 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1291, allocations: 7.891 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1291, allocations: 0 / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1292, allocations: 0 / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.1293, allocations: 31.92 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.1296, allocations: 284.8 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1298, allocations: 42.56 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1298, allocations: 24.88 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1299, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1299, allocations: 34.56 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1299, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008665/0.1308, allocations: 217.1 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1308, allocations: 63.39 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.131, allocations: 206.1 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.131, allocations: 37.64 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.1311, allocations: 104 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1311, allocations: 23.66 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1312, allocations: 21.7 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1313, allocations: 322.8 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.1314, allocations: 27.98 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.1315, allocations: 23.98 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1316, allocations: 64.77 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1316, allocations: 0 / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001895/0.1318, allocations: 93.48 kB / 473.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1318, allocations: 8 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1319, allocations: 7.938 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1319, allocations: 0 / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.132, allocations: 19.98 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.132, allocations: 3.938 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.132, allocations: 7.984 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1321, allocations: 4 kB / 473.7 MB, free: 9.578 MB / 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 8.864e-05/0.1321, allocations: 126.3 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1322, allocations: 15.89 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.1325, allocations: 114.7 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1325, allocations: 0 / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1325, allocations: 3.938 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1325, allocations: 3.984 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.133, allocations: 403.7 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.133, allocations: 4.031 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.1331, allocations: 23.92 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1331, allocations: 7.938 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1331, allocations: 4 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1331, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1331, allocations: 0 / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1333, allocations: 204.3 kB / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1334, allocations: 88.95 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1334, allocations: 0 / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1335, allocations: 11.98 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1335, allocations: 4 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1336, allocations: 4 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1337, allocations: 155.2 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 0 / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.134, allocations: 23.98 kB / 474.8 MB, free: 8.293 MB / 350.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.001013/0.135, allocations: 464.2 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1352, allocations: 59.97 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1352, allocations: 0 / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1353, allocations: 43.91 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1357, allocations: 19.94 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1361, allocations: 271.2 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1364, allocations: 0.7079 MB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.1365, allocations: 16.95 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.1366, allocations: 15.44 kB / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1366, allocations: 0 / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Templates: time 0.003717/0.1403, allocations: 1.302 MB / 477.7 MB, free: 5.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches