Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 93.03 kB / 17.35 MB, free: 6.375 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.0008632/0.0008633, allocations: 175.3 kB / 18.25 MB, free: 5.523 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.422/1.422, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.2141/0.2141, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.001847/0.1402, allocations: 1.278 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.1411, allocations: 399.4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.1411, allocations: 0 / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1413, allocations: 23.92 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1415, allocations: 31.89 kB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1418, allocations: 98.58 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1419, allocations: 55.78 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.142, allocations: 15.98 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.1421, allocations: 7.938 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1422, allocations: 27.84 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1422, allocations: 4 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.1423, allocations: 27.98 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1423, allocations: 15.94 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1424, allocations: 45.56 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1426, allocations: 75.72 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1426, allocations: 7.938 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1426, allocations: 0 / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1426, allocations: 0 / 474.4 MB, free: 11.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004774/0.1431, allocations: 371.5 kB / 474.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1431, allocations: 16.03 kB / 474.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1432, allocations: 8.844 kB / 474.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1434, allocations: 190.4 kB / 474.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.1434, allocations: 384 / 474.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1434, allocations: 8.375 kB / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1436, allocations: 49.81 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1436, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1436, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1436, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1437, allocations: 39.91 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1442, allocations: 280.8 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1444, allocations: 54.5 kB / 475.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.1444, allocations: 20.88 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1445, allocations: 0 / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1445, allocations: 38.56 kB / 475.4 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1445, allocations: 0 / 475.4 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006147/0.1451, allocations: 169.3 kB / 475.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.1452, allocations: 51.41 kB / 475.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1453, allocations: 165.8 kB / 475.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1454, allocations: 25.7 kB / 475.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.1454, allocations: 104 kB / 475.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1455, allocations: 23.73 kB / 475.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.1455, allocations: 9.719 kB / 475.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1456, allocations: 326.8 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.1457, allocations: 23.98 kB / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1458, allocations: 27.98 kB / 476.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1459, allocations: 56.83 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1459, allocations: 0 / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001977/0.1461, allocations: 101.5 kB / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1462, allocations: 8 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1462, allocations: 0 / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1462, allocations: 0 / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.1463, allocations: 15.98 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1463, allocations: 0 / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.1463, allocations: 4 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1463, allocations: 4 kB / 476.5 MB, free: 8.844 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 (5): * Single equations (assignments): 5 * 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.455e-05/0.1464, allocations: 126.3 kB / 476.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1465, allocations: 7.906 kB / 476.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.1467, allocations: 105.9 kB / 476.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1467, allocations: 288 / 476.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1467, allocations: 4 kB / 476.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1467, allocations: 7.922 kB / 476.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1472, allocations: 362.5 kB / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1472, allocations: 0 / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1472, allocations: 11.98 kB / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1473, allocations: 12.31 kB / 477.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1473, allocations: 7.938 kB / 477.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1473, allocations: 7.938 kB / 477.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1473, allocations: 0 / 477.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1475, allocations: 191.4 kB / 477.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1476, allocations: 85 kB / 477.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1476, allocations: 4 kB / 477.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.1477, allocations: 11.94 kB / 477.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1477, allocations: 3.984 kB / 477.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.1477, allocations: 4 kB / 477.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.1478, allocations: 126.2 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1479, allocations: 4 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1481, allocations: 12 kB / 477.6 MB, free: 7.668 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 (5): * Single equations (assignments): 5 * 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.0009917/0.1491, allocations: 406 kB / 478 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1493, allocations: 55.91 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1493, allocations: 0 / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.1494, allocations: 35.98 kB / 478.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1498, allocations: 15.98 kB / 478.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.1502, allocations: 217.4 kB / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1505, allocations: 0.7043 MB / 479 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.1506, allocations: 11.98 kB / 479 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.1506, allocations: 15.42 kB / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1506, allocations: 0 / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Templates: time 0.003302/0.1539, allocations: 1.048 MB / 480.1 MB, free: 5.273 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches