Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 106.4 kB / 17.21 MB, free: 6.27 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.002313/0.002313, allocations: 194 kB / 18.12 MB, free: 5.363 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.477/1.477, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2266/0.2266, allocations: 44.17 MB / 336.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 68.2 kB / 407.7 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 60.83 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003844/0.1402, allocations: 1.628 MB / 470.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.1411, allocations: 415.3 kB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.1413, allocations: 8 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.1416, allocations: 91.73 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1419, allocations: 63.81 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.1424, allocations: 103.1 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1427, allocations: 67.88 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1428, allocations: 16.17 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.1429, allocations: 35.78 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1431, allocations: 51.83 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1431, allocations: 0 / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1433, allocations: 51.97 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.1433, allocations: 19.92 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.1434, allocations: 27.75 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1436, allocations: 104 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1437, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1437, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1437, allocations: 0 / 471.2 MB, free: 12.2 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.0007223/0.1444, allocations: 410.9 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1445, allocations: 8.031 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.1445, allocations: 8.844 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1448, allocations: 212.7 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1448, allocations: 8.359 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1449, allocations: 4.375 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1451, allocations: 57.61 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1451, allocations: 0 / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1451, allocations: 4 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1451, allocations: 0 / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1452, allocations: 31.91 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1457, allocations: 300.7 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1458, allocations: 42.66 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.1459, allocations: 20.84 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.146, allocations: 0 / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.146, allocations: 38.5 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.146, allocations: 4 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001088/0.1471, allocations: 237.3 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1472, allocations: 55.41 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.1474, allocations: 239.1 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1474, allocations: 25.7 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.1475, allocations: 112.1 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1476, allocations: 15.72 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.1477, allocations: 25.7 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1478, allocations: 322.8 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.1479, allocations: 27.98 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.148, allocations: 31.97 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1482, allocations: 76.77 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1482, allocations: 3.938 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002494/0.1484, allocations: 113.5 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1485, allocations: 4 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1485, allocations: 320 / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1485, allocations: 3.984 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1486, allocations: 20 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1487, allocations: 3.938 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.1487, allocations: 15.86 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1487, allocations: 3.984 kB / 473.6 MB, free: 9.535 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.0001199/0.1489, allocations: 134.3 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.1489, allocations: 15.81 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.1492, allocations: 131 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1492, allocations: 4 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.1493, allocations: 3.938 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1493, allocations: 3.984 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1498, allocations: 411.3 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1499, allocations: 0 / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.1499, allocations: 27.95 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.15, allocations: 4 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.15, allocations: 0 / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.15, allocations: 3.938 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.15, allocations: 4 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.1503, allocations: 212.2 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1504, allocations: 88.95 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1504, allocations: 4 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.1505, allocations: 11.98 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1505, allocations: 0 / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.1506, allocations: 4 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1507, allocations: 171.2 kB / 474.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1507, allocations: 0 / 474.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.151, allocations: 24 kB / 474.9 MB, free: 8.195 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.001079/0.1521, allocations: 459.8 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1523, allocations: 71.95 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1524, allocations: 4 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1525, allocations: 43.91 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1529, allocations: 19.91 kB / 475.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.1536, allocations: 300.8 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.1541, allocations: 0.7199 MB / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.577e-05/0.1541, allocations: 12.66 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1542, allocations: 15.44 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.214e-06/0.1542, allocations: 4 kB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004485/0.1587, allocations: 1.317 MB / 477.8 MB, free: 5.379 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches