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.001244/0.001244, allocations: 111.9 kB / 18.37 MB, free: 4.73 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.001357/0.001358, allocations: 184.5 kB / 19.29 MB, free: 3.812 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.482/1.482, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001261/0.001261, allocations: 51.92 kB / 329.1 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 46.62 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003322/0.1188, allocations: 1.593 MB / 377.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2526/0.3714, allocations: 3.199 MB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.3716, allocations: 2.75 kB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.372, allocations: 56.69 kB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.3721, allocations: 10.7 kB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.376, allocations: 1.42 MB / 382 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.3764, allocations: 147.7 kB / 382.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3765, allocations: 24.06 kB / 382.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.3766, allocations: 53.8 kB / 382.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3767, allocations: 54.97 kB / 382.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.3768, allocations: 7.719 kB / 382.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.3791, allocations: 1.379 MB / 383.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.3792, allocations: 36.58 kB / 383.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.3793, allocations: 56.02 kB / 383.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.3809, allocations: 1.202 MB / 385 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.3809, allocations: 1.094 kB / 385 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.3809, allocations: 0 / 385 MB, free: 9.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.381, allocations: 2.906 kB / 385 MB, free: 9.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001336/0.3823, allocations: 0.5637 MB / 385.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.3824, allocations: 13.2 kB / 385.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.3824, allocations: 13.06 kB / 385.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.3827, allocations: 217.9 kB / 385.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3827, allocations: 6.719 kB / 385.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.3828, allocations: 14.47 kB / 385.8 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3831, allocations: 128.7 kB / 385.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3831, allocations: 0.7969 kB / 385.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3831, allocations: 9.766 kB / 386 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3831, allocations: 5.656 kB / 386 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.3833, allocations: 52.14 kB / 386 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3839, allocations: 382.2 kB / 386.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.3843, allocations: 132.1 kB / 386.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.3844, allocations: 39.28 kB / 386.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3845, allocations: 1.094 kB / 386.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3845, allocations: 36.39 kB / 386.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3845, allocations: 0 / 386.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002164/0.3867, allocations: 1.215 MB / 387.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.3867, allocations: 141.5 kB / 387.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3869, allocations: 169.2 kB / 388.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3869, allocations: 26.83 kB / 388.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.387, allocations: 114.1 kB / 388.2 MB, free: 7.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.387, allocations: 56.69 kB / 388.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.911e-05/0.3871, allocations: 44.53 kB / 388.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.3872, allocations: 328.5 kB / 388.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3874, allocations: 96.19 kB / 388.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3876, allocations: 136.8 kB / 388.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.3879, allocations: 197.5 kB / 389.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3879, allocations: 2.812 kB / 389.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005723/0.3885, allocations: 301.5 kB / 389.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3885, allocations: 9.953 kB / 389.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.3886, allocations: 6.984 kB / 389.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.3888, allocations: 46.11 kB / 389.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.389, allocations: 30.08 kB / 389.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.39, allocations: 1.518 MB / 391 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.3901, allocations: 9.406 kB / 391 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3902, allocations: 11.88 kB / 391 MB, free: 5.055 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 (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.000118/0.3903, allocations: 139.3 kB / 391.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.3903, allocations: 14.05 kB / 391.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.3904, allocations: 27.45 kB / 391.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3904, allocations: 2.094 kB / 391.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3904, allocations: 0 / 391.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3904, allocations: 1.406 kB / 391.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.3907, allocations: 249.7 kB / 391.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3907, allocations: 5 kB / 391.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.391, allocations: 50.53 kB / 391.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.391, allocations: 4.969 kB / 391.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.391, allocations: 5.25 kB / 391.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.391, allocations: 0 / 391.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3911, allocations: 2.453 kB / 391.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.3916, allocations: 418 kB / 391.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.3917, allocations: 84.27 kB / 392 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.3917, allocations: 10.64 kB / 392 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3918, allocations: 10.59 kB / 392 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3919, allocations: 11.34 kB / 392 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3919, allocations: 2.062 kB / 392 MB, free: 4.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.392, allocations: 137.3 kB / 392.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 0 / 392.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003469/0.3955, allocations: 0.5177 MB / 392.7 MB, free: 4.203 MB / 318.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.001615/0.3971, allocations: 0.5491 MB / 393.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.3979, allocations: 400.4 kB / 393.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3979, allocations: 0 / 393.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3981, allocations: 88.41 kB / 393.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3984, allocations: 32.95 kB / 393.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.3992, allocations: 431.7 kB / 394.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.3994, allocations: 0.7344 MB / 394.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3995, allocations: 15.84 kB / 394.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3995, allocations: 1.188 kB / 394.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of Templates: time 0.01429/0.4138, allocations: 6.188 MB / 401.1 MB, free: 0.9336 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches