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.00133/0.00133, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001391/0.001391, allocations: 191 kB / 19.34 MB, free: 3.789 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.425/1.425, allocations: 222.9 MB / 243 MB, free: 15.18 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.2116/0.2116, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.77 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 60.84 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003242/0.1325, allocations: 1.575 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.1333, allocations: 407.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.1334, allocations: 4 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1336, allocations: 75.77 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1339, allocations: 55.81 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1341, allocations: 91.69 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1343, allocations: 71.88 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1344, allocations: 24.11 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.1345, allocations: 39.78 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1346, allocations: 47.83 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1346, allocations: 4 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.499e-05/0.1347, allocations: 47.97 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1348, allocations: 19.92 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1348, allocations: 23.81 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.135, allocations: 111.6 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.135, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.135, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1351, allocations: 0 / 473.3 MB, free: 11.07 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.000508/0.1356, allocations: 403 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1356, allocations: 8.031 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1357, allocations: 12.84 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1359, allocations: 192.1 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1359, allocations: 8.375 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1359, allocations: 4.375 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1361, allocations: 61.58 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1361, allocations: 15.91 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1361, allocations: 0 / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1361, allocations: 0 / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.1362, allocations: 27.92 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1366, allocations: 284.8 kB / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1367, allocations: 50.55 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.1368, allocations: 16.94 kB / 474.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1368, allocations: 3.938 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1369, allocations: 34.56 kB / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.1369, allocations: 0 / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008628/0.1377, allocations: 221 kB / 474.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1378, allocations: 51.41 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.138, allocations: 214.1 kB / 474.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.138, allocations: 25.7 kB / 474.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.1381, allocations: 108 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1381, allocations: 27.72 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.1382, allocations: 25.7 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1383, allocations: 326.8 kB / 475.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.1384, allocations: 19.98 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.1385, allocations: 23.98 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1386, allocations: 64.77 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1386, allocations: 4 kB / 475.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.1388, allocations: 97.48 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1388, allocations: 4 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1388, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1389, allocations: 7.938 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.139, allocations: 15.98 kB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.139, allocations: 3.938 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.139, allocations: 11.98 kB / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.139, allocations: 4 kB / 475.6 MB, free: 8.512 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 9.915e-05/0.1391, allocations: 129.8 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1392, allocations: 7.906 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.1394, allocations: 118.7 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1395, allocations: 4 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1395, allocations: 3.938 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1395, allocations: 3.984 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.1399, allocations: 395.2 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1399, allocations: 4 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.14, allocations: 19.92 kB / 476.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.14, allocations: 3.938 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.14, allocations: 8 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.14, allocations: 3.938 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1401, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1403, allocations: 208.3 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1403, allocations: 88.95 kB / 476.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1404, allocations: 0 / 476.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1404, allocations: 7.984 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1405, allocations: 7.984 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1405, allocations: 4 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1406, allocations: 155.2 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1406, allocations: 0 / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1409, allocations: 27.94 kB / 476.8 MB, free: 7.223 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.0009968/0.1419, allocations: 460.8 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1421, allocations: 63.91 kB / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1421, allocations: 0 / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.1422, allocations: 35.91 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1425, allocations: 27.88 kB / 477.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.143, allocations: 243.2 kB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1433, allocations: 0.7002 MB / 478.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.402e-05/0.1434, allocations: 16.95 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.1434, allocations: 11.44 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1434, allocations: 0 / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of Templates: time 0.003585/0.147, allocations: 1.324 MB / 479.7 MB, free: 4.48 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/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