Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001274/0.001274, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.376/1.376, allocations: 222.9 MB / 243 MB, free: 15.13 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.2043/0.2043, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.84 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003249/0.1429, allocations: 1.571 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1444, allocations: 1.023 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.1445, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1447, allocations: 31.84 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.145, allocations: 39.78 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1452, allocations: 90.94 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1454, allocations: 63.91 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1455, allocations: 16.17 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.1456, allocations: 31.84 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006717/0.1463, allocations: 31.8 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1463, allocations: 4 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1464, allocations: 51.97 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.1465, allocations: 11.98 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.1466, allocations: 27.81 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1468, allocations: 99.75 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1468, allocations: 0 / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1468, allocations: 0 / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1468, allocations: 0 / 473.8 MB, free: 10.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005059/0.1473, allocations: 391.2 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1474, allocations: 8.031 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1474, allocations: 8.844 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1476, allocations: 196.1 kB / 474.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1477, allocations: 8.375 kB / 474.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1477, allocations: 4.359 kB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1479, allocations: 83.31 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1479, allocations: 3.906 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1479, allocations: 0 / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1479, allocations: 0 / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.148, allocations: 35.91 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1484, allocations: 292.8 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1486, allocations: 46.56 kB / 474.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1486, allocations: 24.97 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1487, allocations: 3.938 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.1487, allocations: 38.56 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1487, allocations: 4 kB / 474.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006219/0.1494, allocations: 177.3 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.1494, allocations: 77.11 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1496, allocations: 145.8 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1496, allocations: 29.7 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.1497, allocations: 92.12 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1497, allocations: 31.56 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1497, allocations: 21.7 kB / 475.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1499, allocations: 318.8 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.1499, allocations: 27.92 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.15, allocations: 37.69 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1502, allocations: 64.86 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1502, allocations: 0 / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001984/0.1504, allocations: 101.5 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1504, allocations: 11.28 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1504, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1504, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1506, allocations: 19.98 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1506, allocations: 0 / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1506, allocations: 11.92 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1506, allocations: 4 kB / 476.1 MB, free: 8.043 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.65e-05/0.1507, allocations: 113.8 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1508, allocations: 7.906 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.151, allocations: 122.2 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.151, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1511, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1511, allocations: 7.938 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.1515, allocations: 378.5 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1515, allocations: 7.984 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.1516, allocations: 15.94 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1516, allocations: 3.938 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1516, allocations: 0 / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1516, allocations: 7.984 kB / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1516, allocations: 0 / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1519, allocations: 191.4 kB / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1519, allocations: 92.94 kB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.152, allocations: 4.312 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.152, allocations: 4 kB / 477 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1521, allocations: 7.984 kB / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1521, allocations: 8 kB / 477 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.735e-05/0.1522, allocations: 113.9 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1522, allocations: 7.938 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1525, allocations: 27.98 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009946/0.1535, allocations: 427 kB / 477.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1537, allocations: 63.97 kB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.1537, allocations: 0 / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.1538, allocations: 39.91 kB / 477.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1542, allocations: 16 kB / 477.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.1546, allocations: 189.8 kB / 477.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1548, allocations: 0.6963 MB / 478.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.1549, allocations: 16.95 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1549, allocations: 11.44 kB / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.805e-06/0.1549, allocations: 0 / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of Templates: time 0.004106/0.1591, allocations: 1.458 MB / 480.1 MB, free: 4.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches