Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 100.2 kB / 17.63 MB, free: 5.52 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.001011/0.001011, allocations: 191.9 kB / 18.56 MB, free: 4.598 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.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.27 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.2048/0.2048, allocations: 44.18 MB / 336.6 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 60.14 kB / 408.4 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 60.83 MB / 469.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002845/0.1378, allocations: 1.567 MB / 470.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007053/0.1385, allocations: 419.2 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.1386, allocations: 0 / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1388, allocations: 87.7 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.139, allocations: 55.8 kB / 471.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1393, allocations: 115.2 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1395, allocations: 63.89 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.1396, allocations: 20.17 kB / 471.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.1396, allocations: 43.77 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.1397, allocations: 47.89 kB / 471.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1398, allocations: 4 kB / 471.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.1399, allocations: 47.92 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.1399, allocations: 15.98 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.14, allocations: 31.73 kB / 471.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1401, allocations: 99.98 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1401, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1401, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1402, allocations: 4 kB / 471.9 MB, free: 11.8 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.0004404/0.1406, allocations: 410.9 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1406, allocations: 8.031 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1407, allocations: 8.844 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1409, allocations: 204.1 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1409, allocations: 384 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1409, allocations: 4.375 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1411, allocations: 61.59 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1411, allocations: 7.906 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1411, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1411, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.1412, allocations: 23.92 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1416, allocations: 296.8 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/0.1417, allocations: 46.56 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1417, allocations: 20.94 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1418, allocations: 4.078 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1418, allocations: 34.5 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1418, allocations: 0 / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008144/0.1426, allocations: 241 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1427, allocations: 51.41 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1428, allocations: 218 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1429, allocations: 25.7 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.1429, allocations: 104 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.143, allocations: 23.66 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.143, allocations: 29.7 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1431, allocations: 322.8 kB / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.1432, allocations: 27.98 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.1433, allocations: 31.97 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1434, allocations: 68.83 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1434, allocations: 0 / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002013/0.1437, allocations: 121.4 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1437, allocations: 7.938 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1437, allocations: 0 / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1437, allocations: 0 / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.1438, allocations: 23.98 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1438, allocations: 3.938 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.1439, allocations: 11.98 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1439, allocations: 0 / 474.2 MB, free: 9.18 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.256e-05/0.144, allocations: 129.8 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.144, allocations: 7.906 kB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.1443, allocations: 134.6 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1443, allocations: 0 / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1443, allocations: 4.359 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1443, allocations: 0 / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.1448, allocations: 423.2 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1448, allocations: 0 / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.1449, allocations: 23.92 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1449, allocations: 0 / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1449, allocations: 3.984 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1449, allocations: 4 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1449, allocations: 3.938 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1451, allocations: 208.3 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.1452, allocations: 88.94 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1452, allocations: 8 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.1453, allocations: 4 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.1453, allocations: 7.984 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1453, allocations: 0 / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1455, allocations: 159.2 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1455, allocations: 0 / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1457, allocations: 24 kB / 475.5 MB, free: 7.859 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.0009478/0.1467, allocations: 465.2 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1469, allocations: 71.95 kB / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1469, allocations: 0 / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.147, allocations: 43.91 kB / 476 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1473, allocations: 31.86 kB / 476.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.1478, allocations: 255.1 kB / 476.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1481, allocations: 0.7119 MB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.404e-05/0.1481, allocations: 28.95 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.1482, allocations: 11.44 kB / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1482, allocations: 0 / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Templates: time 0.003676/0.1518, allocations: 1.358 MB / 478.4 MB, free: 5.027 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches