Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.00139/0.00139, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001399/0.001399, allocations: 190 kB / 18.07 MB, free: 5.414 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.649/1.649, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.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.001315/0.001315, allocations: 43.94 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.62 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004423/0.1181, allocations: 1.653 MB / 328.2 MB, free: 3.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007306/0.1254, allocations: 3.588 MB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.1257, allocations: 11.94 kB / 331.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.1264, allocations: 47.81 kB / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.1264, allocations: 7.875 kB / 331.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.1301, allocations: 1.068 MB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1304, allocations: 135.7 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1305, allocations: 28.88 kB / 333.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.1306, allocations: 47.84 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1307, allocations: 51.66 kB / 333.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1308, allocations: 8 kB / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.1324, allocations: 1.374 MB / 334.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.1325, allocations: 31.91 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.1326, allocations: 47.67 kB / 334.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1338, allocations: 1.185 MB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1338, allocations: 0 / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1338, allocations: 3.938 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1338, allocations: 0 / 335.9 MB, free: 11.57 MB / 286.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.00101/0.1348, allocations: 0.5692 MB / 336.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1349, allocations: 8.031 kB / 336.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.135, allocations: 20.69 kB / 336.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1352, allocations: 212.1 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1352, allocations: 384 / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.1353, allocations: 16.36 kB / 336.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1356, allocations: 125 kB / 336.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1356, allocations: 8 kB / 336.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1356, allocations: 4 kB / 336.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1356, allocations: 0 / 336.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1358, allocations: 59.89 kB / 336.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.1365, allocations: 380.5 kB / 337.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.1369, allocations: 126.6 kB / 337.4 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.137, allocations: 44.83 kB / 337.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.137, allocations: 3.984 kB / 337.4 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.137, allocations: 34.69 kB / 337.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.137, allocations: 7.938 kB / 337.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002515/0.1396, allocations: 1.211 MB / 338.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1397, allocations: 132.5 kB / 338.8 MB, free: 8.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1399, allocations: 170.4 kB / 339 MB, free: 8.113 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.1399, allocations: 33.7 kB / 339 MB, free: 8.074 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.14, allocations: 108.5 kB / 339.1 MB, free: 7.965 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.14, allocations: 59.11 kB / 339.2 MB, free: 7.906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.1401, allocations: 41.7 kB / 339.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1403, allocations: 330.8 kB / 339.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1405, allocations: 95.94 kB / 339.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1406, allocations: 131.4 kB / 339.8 MB, free: 7.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.141, allocations: 200.9 kB / 340 MB, free: 7.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.141, allocations: 0 / 340 MB, free: 7.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005525/0.1415, allocations: 314.1 kB / 340.3 MB, free: 6.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1416, allocations: 8 kB / 340.3 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.1416, allocations: 0 / 340.3 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.1418, allocations: 40.81 kB / 340.3 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.142, allocations: 35.92 kB / 340.3 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.1433, allocations: 1.409 MB / 341.8 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.1434, allocations: 4.031 kB / 341.8 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1434, allocations: 8 kB / 341.8 MB, free: 5.137 MB / 286.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.0001471/0.1436, allocations: 141.9 kB / 341.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.1436, allocations: 15.81 kB / 341.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.1437, allocations: 25.52 kB / 341.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1437, allocations: 4 kB / 341.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1437, allocations: 0 / 341.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1437, allocations: 0 / 341.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.144, allocations: 249.5 kB / 342.2 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.144, allocations: 0 / 342.2 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.1443, allocations: 47.97 kB / 342.2 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1443, allocations: 4 kB / 342.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1443, allocations: 8 kB / 342.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1443, allocations: 7.922 kB / 342.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1443, allocations: 0 / 342.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.1449, allocations: 416.2 kB / 342.7 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.1449, allocations: 92.95 kB / 342.8 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.145, allocations: 4 kB / 342.8 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1451, allocations: 12 kB / 342.8 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1451, allocations: 7.984 kB / 342.8 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1452, allocations: 4 kB / 342.8 MB, free: 4.027 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.1452, allocations: 123.2 kB / 342.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1453, allocations: 0 / 342.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00167/0.1469, allocations: 0.5156 MB / 343.4 MB, free: 3.391 MB / 286.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.001132/0.1481, allocations: 0.5597 MB / 344 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.1488, allocations: 386.2 kB / 344.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1488, allocations: 8 kB / 344.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1489, allocations: 83.89 kB / 344.4 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1493, allocations: 36.27 kB / 344.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.1501, allocations: 448.1 kB / 344.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1504, allocations: 0.7322 MB / 345.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.1505, allocations: 29.05 kB / 345.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.1506, allocations: 19.44 kB / 345.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1506, allocations: 0 / 345.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of Templates: time 0.01524/0.1658, allocations: 7.774 MB / 353.5 MB, free: 9.242 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches