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.00146/0.00146, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001522/0.001523, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 51.92 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4106, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003135/0.4138, allocations: 1.616 MB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.4193, allocations: 3.154 MB / 406.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.4194, allocations: 0 / 406.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.4198, allocations: 63.62 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.4199, allocations: 11.86 kB / 406.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.4237, allocations: 1.415 MB / 407.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.424, allocations: 151.6 kB / 407.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4242, allocations: 25.11 kB / 407.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.4243, allocations: 55.78 kB / 407.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.4244, allocations: 63.62 kB / 407.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4244, allocations: 8 kB / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.4261, allocations: 1.378 MB / 409.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.4262, allocations: 27.92 kB / 409.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.4262, allocations: 55.66 kB / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.4291, allocations: 1.205 MB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4291, allocations: 0 / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4292, allocations: 0 / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.4292, allocations: 0 / 410.6 MB, free: 15.65 MB / 334.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.001155/0.4303, allocations: 0.5692 MB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4304, allocations: 8.031 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.4305, allocations: 12.84 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.4308, allocations: 220 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4308, allocations: 7.938 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.4308, allocations: 15.91 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.4311, allocations: 132.7 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4311, allocations: 0 / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4312, allocations: 0 / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4312, allocations: 11.97 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4313, allocations: 55.97 kB / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.432, allocations: 384.5 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.4324, allocations: 130.5 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.4325, allocations: 40.83 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.4325, allocations: 0 / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4325, allocations: 30.56 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.4325, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003994/0.4365, allocations: 1.219 MB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.4367, allocations: 132.5 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.4369, allocations: 174.4 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4369, allocations: 25.7 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.437, allocations: 116.5 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.4371, allocations: 55.14 kB / 413.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.4371, allocations: 45.7 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4373, allocations: 330.8 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.4375, allocations: 95.95 kB / 414.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.4377, allocations: 135.3 kB / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.438, allocations: 204.9 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.438, allocations: 0 / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005471/0.4385, allocations: 306.1 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4386, allocations: 7.984 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4386, allocations: 4 kB / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.4388, allocations: 40.83 kB / 415.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.439, allocations: 35.91 kB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.4403, allocations: 1.515 MB / 416.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.4404, allocations: 7.984 kB / 416.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4404, allocations: 8 kB / 416.6 MB, free: 9.09 MB / 334.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.0001395/0.4406, allocations: 141.9 kB / 416.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.4406, allocations: 11.81 kB / 416.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.4407, allocations: 25.53 kB / 416.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4407, allocations: 3.938 kB / 416.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.4407, allocations: 0 / 416.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4407, allocations: 8.031 kB / 416.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.441, allocations: 245.5 kB / 417.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.441, allocations: 0 / 417.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.4413, allocations: 67.83 kB / 417.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4413, allocations: 0 / 417.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4413, allocations: 4 kB / 417.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.4413, allocations: 7.938 kB / 417.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4413, allocations: 0.6562 kB / 417.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.4437, allocations: 403.1 kB / 417.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.4438, allocations: 85.02 kB / 417.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.4438, allocations: 12 kB / 417.6 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.444, allocations: 7.969 kB / 417.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.444, allocations: 15.94 kB / 417.6 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.444, allocations: 0 / 417.6 MB, free: 7.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4442, allocations: 136.2 kB / 417.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4442, allocations: 0 / 417.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001692/0.4459, allocations: 0.5117 MB / 418.3 MB, free: 7.336 MB / 334.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.001143/0.447, allocations: 0.546 MB / 418.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.4477, allocations: 397.4 kB / 419.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4478, allocations: 0 / 419.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.4479, allocations: 95.88 kB / 419.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4483, allocations: 26.64 kB / 419.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.449, allocations: 427.6 kB / 419.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.4511, allocations: 0.728 MB / 420.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.4511, allocations: 15.44 kB / 420.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4511, allocations: 0 / 420.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Templates: time 0.01612/0.4673, allocations: 6.195 MB / 426.7 MB, free: 14.84 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/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