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.0008595/0.0008595, allocations: 94.16 kB / 17.31 MB, free: 6.109 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.00106/0.00106, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.258/1.258, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.000221, allocations: 8.625 kB / 302.1 MB, free: 6.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07161/0.07184, allocations: 50.42 MB / 352.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001466/0.07334, allocations: 1.319 MB / 353.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004562/0.07792, allocations: 3.489 MB / 357.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.07802, allocations: 0 / 357.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.07828, allocations: 51.75 kB / 357.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.07834, allocations: 11.94 kB / 357.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.08068, allocations: 1.063 MB / 358.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.08088, allocations: 139.5 kB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.08098, allocations: 33.31 kB / 358.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.08105, allocations: 43.84 kB / 358.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.08114, allocations: 43.78 kB / 358.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.08116, allocations: 7.938 kB / 358.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.08244, allocations: 1.374 MB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.08252, allocations: 27.92 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.08259, allocations: 73.38 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008196/0.08341, allocations: 1.08 MB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.08343, allocations: 4 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08343, allocations: 0 / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.08344, allocations: 0 / 361.2 MB, free: 10.97 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.0007706/0.08422, allocations: 0.5419 MB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.08425, allocations: 8.031 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.08431, allocations: 20.75 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.08451, allocations: 212 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.08453, allocations: 8.125 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.08457, allocations: 12 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.08479, allocations: 121.1 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.08482, allocations: 3.938 kB / 362.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.08484, allocations: 12 kB / 362.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.08485, allocations: 0 / 362.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.08499, allocations: 59.95 kB / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.08552, allocations: 388.4 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.08587, allocations: 138.5 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.08597, allocations: 40.83 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.08599, allocations: 0 / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.08601, allocations: 38.56 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.031e-06/0.08602, allocations: 4 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002061/0.08808, allocations: 1.214 MB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.08816, allocations: 132.5 kB / 364.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.08831, allocations: 186.8 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.08833, allocations: 25.7 kB / 364.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.0884, allocations: 112.5 kB / 364.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.08845, allocations: 59.17 kB / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.08849, allocations: 21.72 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.08859, allocations: 332 kB / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.08876, allocations: 95.95 kB / 365 MB, free: 6.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.08895, allocations: 139.3 kB / 365.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.08927, allocations: 200.8 kB / 365.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.08928, allocations: 3.938 kB / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005101/0.0898, allocations: 321 kB / 365.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.08982, allocations: 11.98 kB / 365.6 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.08984, allocations: 4 kB / 365.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.09001, allocations: 40.83 kB / 365.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.09018, allocations: 31.97 kB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.09121, allocations: 1.401 MB / 367.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.09132, allocations: 8.016 kB / 367.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.09134, allocations: 11.94 kB / 367.1 MB, free: 4.531 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.0001123/0.09146, allocations: 149.8 kB / 367.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.09151, allocations: 15.81 kB / 367.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.09157, allocations: 21.53 kB / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09157, allocations: 0 / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.09158, allocations: 0 / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.09159, allocations: 0 / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.09183, allocations: 253.5 kB / 367.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.09184, allocations: 0 / 367.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.09211, allocations: 55.95 kB / 367.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.09213, allocations: 4.047 kB / 367.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.09214, allocations: 3.984 kB / 367.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.09215, allocations: 4 kB / 367.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09216, allocations: 0 / 367.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.09267, allocations: 426.1 kB / 368 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.09273, allocations: 88.92 kB / 368.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.09275, allocations: 4 kB / 368.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.09288, allocations: 8 kB / 368.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.09292, allocations: 8.031 kB / 368.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.09293, allocations: 4 kB / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.09303, allocations: 135.4 kB / 368.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.09303, allocations: 0 / 368.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001106/0.09414, allocations: 0.5155 MB / 368.8 MB, free: 2.77 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.0009562/0.09511, allocations: 0.555 MB / 369.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005887/0.09571, allocations: 389.9 kB / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.09572, allocations: 0 / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.09588, allocations: 95.88 kB / 369.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.09621, allocations: 27.98 kB / 369.9 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.09683, allocations: 497.2 kB / 370.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.09712, allocations: 0.7283 MB / 371.1 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.09718, allocations: 15.44 kB / 371.1 MB, free: 412 kB / 302.1 MB Notification: Performance of SimCode: time 1.904e-06/0.09719, allocations: 0 / 371.1 MB, free: 412 kB / 302.1 MB Notification: Performance of Templates: time 0.1352/0.2324, allocations: 6.16 MB / 377.3 MB, free: 23.15 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/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