Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 94.25 kB / 17.35 MB, free: 6.344 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.001755/0.001755, allocations: 170.9 kB / 18.25 MB, free: 5.508 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.424/1.424, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2385/0.2385, allocations: 44.26 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 13.12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002118/0.1471, allocations: 1.29 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.148, allocations: 403.4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.1481, allocations: 4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1484, allocations: 119.8 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1486, allocations: 83.77 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1489, allocations: 103.1 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1491, allocations: 83.86 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1492, allocations: 12.19 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.1493, allocations: 43.77 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1495, allocations: 71.86 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1495, allocations: 8 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.1496, allocations: 43.91 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.1497, allocations: 23.91 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.1497, allocations: 57.39 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1499, allocations: 108 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1499, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.15, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.15, allocations: 3.938 kB / 474.7 MB, free: 10.88 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.00055/0.1505, allocations: 418.9 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1506, allocations: 8.031 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.1506, allocations: 16.69 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1509, allocations: 215.8 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1509, allocations: 384 / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1509, allocations: 4.375 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1511, allocations: 57.61 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1511, allocations: 4 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1512, allocations: 0 / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1512, allocations: 4 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1513, allocations: 31.98 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.1518, allocations: 316.6 kB / 475.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1519, allocations: 54.55 kB / 475.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.152, allocations: 16.86 kB / 475.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.152, allocations: 4.062 kB / 475.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.152, allocations: 42.58 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.152, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.1531, allocations: 265 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1531, allocations: 51.41 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1534, allocations: 274.2 kB / 476.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1534, allocations: 29.64 kB / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.1535, allocations: 112.1 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1535, allocations: 27.55 kB / 476.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1536, allocations: 21.72 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1537, allocations: 322.8 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.1538, allocations: 35.97 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.1539, allocations: 32.06 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1541, allocations: 88.95 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1541, allocations: 0 / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002567/0.1544, allocations: 125.4 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1544, allocations: 8 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1544, allocations: 4 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1545, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1546, allocations: 19.98 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1546, allocations: 3.938 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.1546, allocations: 4 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1547, allocations: 11.98 kB / 477.3 MB, free: 8.078 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 0.0001297/0.1548, allocations: 134.4 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.1548, allocations: 11.91 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1551, allocations: 138.9 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1552, allocations: 4 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1552, allocations: 3.938 kB / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.1552, allocations: 4.406 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.1558, allocations: 435.3 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1558, allocations: 3.938 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.1559, allocations: 19.94 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1559, allocations: 8.016 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1559, allocations: 0 / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1559, allocations: 4 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1559, allocations: 7.922 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.1563, allocations: 220.2 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1563, allocations: 100.8 kB / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1564, allocations: 0 / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1564, allocations: 12 kB / 478.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1565, allocations: 7.984 kB / 478.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1565, allocations: 3.938 kB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.1567, allocations: 199.2 kB / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.157, allocations: 28 kB / 478.6 MB, free: 6.652 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.001099/0.1581, allocations: 457.6 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1584, allocations: 83.94 kB / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1584, allocations: 0 / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1585, allocations: 43.92 kB / 479.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1589, allocations: 23.92 kB / 479.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.1595, allocations: 346.6 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1598, allocations: 0.7199 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.1599, allocations: 16.97 kB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1599, allocations: 11.44 kB / 480.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1599, allocations: 0 / 480.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Templates: time 0.004521/0.1645, allocations: 1.328 MB / 481.6 MB, free: 3.77 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches