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.0008915/0.0008914, allocations: 99.23 kB / 16.94 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.0009724/0.0009725, allocations: 176.6 kB / 17.82 MB, free: 5.652 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.794/1.794, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004649/0.0004651, allocations: 8 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002467/0.1308, allocations: 1.286 MB / 329.6 MB, free: 2.805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.136, allocations: 3.047 MB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.1362, allocations: 3.938 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.1367, allocations: 67.75 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1367, allocations: 7.984 kB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.1401, allocations: 0.9746 MB / 333.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1403, allocations: 95.81 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1405, allocations: 24.89 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.1406, allocations: 51.83 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1407, allocations: 47.72 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1408, allocations: 4 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.1424, allocations: 1.05 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.1425, allocations: 35.83 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.1425, allocations: 45.64 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1436, allocations: 1.072 MB / 336.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1436, allocations: 4 kB / 336.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1436, allocations: 3.938 kB / 336.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1436, allocations: 0 / 336.1 MB, free: 12.25 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.0009583/0.1446, allocations: 0.5378 MB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.1446, allocations: 12.03 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.1447, allocations: 15.8 kB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.145, allocations: 210.8 kB / 336.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.145, allocations: 11.95 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1451, allocations: 8 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1454, allocations: 136.7 kB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1454, allocations: 0 / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.1454, allocations: 4 kB / 337.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1454, allocations: 4 kB / 337.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.1456, allocations: 55.95 kB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.1463, allocations: 384.4 kB / 337.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.1466, allocations: 130.6 kB / 337.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.1466, allocations: 0 / 337.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1467, allocations: 30.75 kB / 337.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1467, allocations: 7.938 kB / 337.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002179/0.1489, allocations: 1.227 MB / 338.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.149, allocations: 132.7 kB / 339 MB, free: 9.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1492, allocations: 178.3 kB / 339.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1492, allocations: 33.64 kB / 339.2 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1493, allocations: 112.4 kB / 339.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.1494, allocations: 47.27 kB / 339.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.1494, allocations: 8 kB / 339.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1496, allocations: 330.8 kB / 339.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1497, allocations: 91.95 kB / 339.8 MB, free: 8.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.1499, allocations: 135.4 kB / 339.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1501, allocations: 120 kB / 340 MB, free: 7.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1502, allocations: 0 / 340 MB, free: 7.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005242/0.1507, allocations: 306.1 kB / 340.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1507, allocations: 8 kB / 340.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.1508, allocations: 7.984 kB / 340.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.151, allocations: 44.81 kB / 340.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1512, allocations: 31.98 kB / 340.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.1526, allocations: 1.413 MB / 341.8 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.1527, allocations: 12.02 kB / 341.9 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1528, allocations: 4 kB / 341.9 MB, free: 5.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1529, allocations: 141.9 kB / 342 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.153, allocations: 19.81 kB / 342 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.1531, allocations: 21.53 kB / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1531, allocations: 0 / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1531, allocations: 0 / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.1531, allocations: 3.984 kB / 342 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1534, allocations: 249.5 kB / 342.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1534, allocations: 0 / 342.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1536, allocations: 55.95 kB / 342.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1537, allocations: 3.938 kB / 342.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1537, allocations: 8 kB / 342.4 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1537, allocations: 4 kB / 342.4 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1537, allocations: 4 kB / 342.4 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.1542, allocations: 411.1 kB / 342.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1543, allocations: 88.92 kB / 342.9 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1543, allocations: 12 kB / 342.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1544, allocations: 8.031 kB / 342.9 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1545, allocations: 7.984 kB / 342.9 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1545, allocations: 11.94 kB / 342.9 MB, free: 4.875 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.363e-05/0.1546, allocations: 119.2 kB / 343 MB, free: 4.758 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1546, allocations: 0 / 343 MB, free: 4.758 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001812/0.1564, allocations: 0.5117 MB / 343.5 MB, free: 4.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.1575, allocations: 0.5563 MB / 344.1 MB, free: 3.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.1583, allocations: 393.9 kB / 344.5 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1583, allocations: 0 / 344.5 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1585, allocations: 88.17 kB / 344.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1587, allocations: 28.62 kB / 344.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.1595, allocations: 452.8 kB / 345 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1599, allocations: 0.7363 MB / 345.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.16, allocations: 25.06 kB / 345.8 MB, free: 1.902 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.16, allocations: 19.44 kB / 345.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of SimCode: time 1.713e-06/0.16, allocations: 0 / 345.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of Templates: time 0.01611/0.1762, allocations: 7.738 MB / 353.5 MB, free: 10.13 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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