Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001408/0.001408, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2416/0.2416, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 75.81 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1521, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003/0.1552, allocations: 1.562 MB / 442.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.1558, allocations: 323.5 kB / 442.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.1558, allocations: 0 / 442.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1561, allocations: 95.73 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1563, allocations: 71.75 kB / 442.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.1565, allocations: 67.83 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1566, allocations: 75.81 kB / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1567, allocations: 28.11 kB / 442.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.1568, allocations: 35.84 kB / 442.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.1568, allocations: 55.81 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1569, allocations: 4 kB / 442.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.1569, allocations: 28 kB / 442.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.157, allocations: 23.92 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.157, allocations: 39.72 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1572, allocations: 91.72 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1572, allocations: 4 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1572, allocations: 0 / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1572, allocations: 0 / 443 MB, free: 4.402 MB / 318.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.0003534/0.1576, allocations: 422.8 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1576, allocations: 15.89 kB / 443.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1577, allocations: 12.75 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1578, allocations: 200.1 kB / 443.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-06/0.1578, allocations: 384 / 443.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1579, allocations: 4.375 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.158, allocations: 65.59 kB / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.158, allocations: 0 / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.158, allocations: 4 kB / 443.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.158, allocations: 0 / 443.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1581, allocations: 39.91 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.1584, allocations: 300.7 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.1585, allocations: 50.5 kB / 444.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.1585, allocations: 28.97 kB / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1586, allocations: 0 / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.1586, allocations: 34.5 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.1586, allocations: 0 / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005224/0.1591, allocations: 189 kB / 444.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.1592, allocations: 59.41 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1593, allocations: 231.5 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1593, allocations: 29.7 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.1594, allocations: 108.1 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1594, allocations: 23.56 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.1594, allocations: 21.7 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.1595, allocations: 326.8 kB / 445.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.1596, allocations: 23.98 kB / 445.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.1596, allocations: 28.05 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1598, allocations: 60.83 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1598, allocations: 3.938 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001718/0.1599, allocations: 105.5 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.16, allocations: 4 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.16, allocations: 0 / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.16, allocations: 4 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.1601, allocations: 19.98 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.1601, allocations: 0 / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.1601, allocations: 7.938 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.1601, allocations: 0 / 445.4 MB, free: 1.805 MB / 318.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 6.594e-05/0.1602, allocations: 133.8 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1602, allocations: 15.81 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1605, allocations: 119 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1605, allocations: 4 kB / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1605, allocations: 0 / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1605, allocations: 3.938 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.1608, allocations: 390.8 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1609, allocations: 4 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.1609, allocations: 19.98 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1609, allocations: 7.922 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1609, allocations: 4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.161, allocations: 4.375 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.161, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1612, allocations: 207.3 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.1612, allocations: 81.02 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.1612, allocations: 15.94 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.1613, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.1613, allocations: 11.98 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1613, allocations: 4 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1615, allocations: 171.2 kB / 446.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1615, allocations: 3.938 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1617, allocations: 20 kB / 446.6 MB, free: 0.5039 MB / 318.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.0008398/0.1625, allocations: 402.5 kB / 447 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1628, allocations: 59.91 kB / 447 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1628, allocations: 0 / 447 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.1629, allocations: 39.97 kB / 447.1 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1632, allocations: 12 kB / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.1638, allocations: 270 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1641, allocations: 0.7132 MB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.1642, allocations: 20.97 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1642, allocations: 15.38 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1642, allocations: 0 / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Templates: time 0.004052/0.1683, allocations: 1.206 MB / 449.3 MB, free: 13.81 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches