Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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) 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(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 90.02 kB / 16.65 MB, free: 6.59 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.001162/0.001162, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 128 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 7.938 kB / 301.4 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 50.41 MB / 351.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002714/0.1306, allocations: 1.323 MB / 353.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006863/0.1375, allocations: 3.489 MB / 356.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1377, allocations: 0 / 356.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.1381, allocations: 43.78 kB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.1383, allocations: 15.86 kB / 356.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.1421, allocations: 1.07 MB / 357.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.1424, allocations: 147.6 kB / 357.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1425, allocations: 21.34 kB / 357.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.1426, allocations: 43.84 kB / 358 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1427, allocations: 51.7 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1428, allocations: 4 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.1453, allocations: 1.374 MB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1454, allocations: 27.91 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1455, allocations: 81.36 kB / 359.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1473, allocations: 1.181 MB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1473, allocations: 0 / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1473, allocations: 0 / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.1473, allocations: 0 / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001333/0.1487, allocations: 0.5458 MB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1487, allocations: 8.031 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.1488, allocations: 20.75 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1491, allocations: 208 kB / 361.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1491, allocations: 12.12 kB / 361.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.1492, allocations: 12 kB / 361.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1495, allocations: 121.1 kB / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1495, allocations: 0 / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1495, allocations: 4 kB / 361.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1495, allocations: 4 kB / 361.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1497, allocations: 67.89 kB / 361.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.1504, allocations: 380.5 kB / 362 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.1508, allocations: 134.5 kB / 362.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.1509, allocations: 40.84 kB / 362.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1509, allocations: 0 / 362.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1509, allocations: 38.55 kB / 362.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.151, allocations: 4 kB / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002356/0.1533, allocations: 1.233 MB / 363.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.1534, allocations: 128.5 kB / 363.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1536, allocations: 182.9 kB / 363.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1537, allocations: 29.7 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.1537, allocations: 108.5 kB / 363.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.1538, allocations: 55.19 kB / 364 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.1539, allocations: 33.64 kB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.154, allocations: 326.8 kB / 364.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1542, allocations: 95.94 kB / 364.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1544, allocations: 139.3 kB / 364.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.1548, allocations: 204.8 kB / 364.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1548, allocations: 0 / 364.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006136/0.1554, allocations: 314.2 kB / 365.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1555, allocations: 11.94 kB / 365.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.1555, allocations: 4 kB / 365.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.1557, allocations: 44.81 kB / 365.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1559, allocations: 27.98 kB / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.1572, allocations: 1.401 MB / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1574, allocations: 12.02 kB / 366.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1574, allocations: 7.938 kB / 366.6 MB, free: 4.41 MB / 302.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.1576, allocations: 147 kB / 366.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.1577, allocations: 15.81 kB / 366.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/0.1578, allocations: 25.53 kB / 366.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.1578, allocations: 3.984 kB / 366.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1578, allocations: 0 / 366.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1578, allocations: 0 / 366.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.1581, allocations: 249.5 kB / 367 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1581, allocations: 0 / 367 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1584, allocations: 51.95 kB / 367.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1584, allocations: 0 / 367.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.1585, allocations: 8 kB / 367.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1585, allocations: 4 kB / 367.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1585, allocations: 0 / 367.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.1591, allocations: 425.3 kB / 367.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1591, allocations: 88.92 kB / 367.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1592, allocations: 8 kB / 367.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1593, allocations: 8.031 kB / 367.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1594, allocations: 11.98 kB / 367.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1594, allocations: 4 kB / 367.6 MB, free: 3.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1595, allocations: 131.4 kB / 367.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1595, allocations: 0 / 367.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001848/0.1614, allocations: 0.5156 MB / 368.3 MB, free: 2.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.002004/0.1634, allocations: 0.5438 MB / 368.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008272/0.1642, allocations: 403.5 kB / 369.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1643, allocations: 0 / 369.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1644, allocations: 91.89 kB / 369.3 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1648, allocations: 31.98 kB / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.1656, allocations: 456.6 kB / 369.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.166, allocations: 0.7283 MB / 370.5 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1662, allocations: 33.05 kB / 370.5 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.1662, allocations: 15.44 kB / 370.5 MB, free: 300 kB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1662, allocations: 4 kB / 370.5 MB, free: 296 kB / 302.1 MB Notification: Performance of Templates: time 0.2676/0.4339, allocations: 7.739 MB / 378.3 MB, free: 22.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches