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.001139/0.001139, allocations: 110.5 kB / 17.73 MB, free: 5.301 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.001164/0.001164, allocations: 187 kB / 18.66 MB, free: 4.375 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.391/1.391, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001303/0.001303, allocations: 51.94 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1215, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004996/0.1266, allocations: 1.593 MB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.264/0.3905, allocations: 3.201 MB / 379.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.3908, allocations: 4.219 kB / 379.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.3913, allocations: 53.8 kB / 380 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.3913, allocations: 18.39 kB / 380 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00413/0.3955, allocations: 1.422 MB / 381.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.3958, allocations: 143.3 kB / 381.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.396, allocations: 27.66 kB / 381.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.3961, allocations: 58.78 kB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3962, allocations: 51.16 kB / 381.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3962, allocations: 7.969 kB / 381.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3984, allocations: 1.377 MB / 383.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.3985, allocations: 38.36 kB / 383.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.3986, allocations: 56.88 kB / 383.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.4002, allocations: 1.202 MB / 384.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4002, allocations: 1.125 kB / 384.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4002, allocations: 0 / 384.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.4002, allocations: 1.281 kB / 384.4 MB, free: 9.578 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.001158/0.4014, allocations: 0.5639 MB / 384.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4015, allocations: 9.656 kB / 385 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.4015, allocations: 12.84 kB / 385 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.4018, allocations: 214.1 kB / 385.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4018, allocations: 7.156 kB / 385.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.4019, allocations: 14.95 kB / 385.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.4021, allocations: 131.7 kB / 385.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4021, allocations: 2.016 kB / 385.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4021, allocations: 1.25 kB / 385.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4022, allocations: 7 kB / 385.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4023, allocations: 61.47 kB / 385.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.4029, allocations: 376 kB / 385.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.4033, allocations: 123.2 kB / 385.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.4034, allocations: 49.3 kB / 385.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4035, allocations: 1.125 kB / 385.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4035, allocations: 32.66 kB / 386 MB, free: 8.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 3.106e-06/0.4035, allocations: 0 / 386 MB, free: 8.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002368/0.4059, allocations: 1.227 MB / 387.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.4059, allocations: 134.2 kB / 387.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4061, allocations: 172.3 kB / 387.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4062, allocations: 31.86 kB / 387.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.4062, allocations: 106.9 kB / 387.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.4063, allocations: 55.47 kB / 387.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.4064, allocations: 44.88 kB / 387.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.4065, allocations: 327.5 kB / 388 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.4067, allocations: 96.69 kB / 388.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.4069, allocations: 136.4 kB / 388.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.4072, allocations: 197.3 kB / 388.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4072, allocations: 2.625 kB / 388.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005692/0.4078, allocations: 307.5 kB / 388.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4078, allocations: 12.69 kB / 388.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.4079, allocations: 2.938 kB / 388.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.4081, allocations: 50.2 kB / 388.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.4083, allocations: 28.42 kB / 388.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.4094, allocations: 1.525 MB / 390.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4096, allocations: 10.08 kB / 390.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.4096, allocations: 7.219 kB / 390.4 MB, free: 5.062 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.0001488/0.4097, allocations: 138.7 kB / 390.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.4098, allocations: 18.16 kB / 390.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.4099, allocations: 22.39 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4099, allocations: 1.797 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4099, allocations: 1.094 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.4099, allocations: 0.75 kB / 390.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.4102, allocations: 252.1 kB / 390.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4102, allocations: 0 / 390.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.4105, allocations: 51.12 kB / 390.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4105, allocations: 1.594 kB / 390.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4106, allocations: 3.938 kB / 390.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.4106, allocations: 6.672 kB / 390.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4106, allocations: 3.938 kB / 390.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.4112, allocations: 413.8 kB / 391.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.4113, allocations: 85.02 kB / 391.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4113, allocations: 3.109 kB / 391.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4114, allocations: 7.984 kB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.4115, allocations: 9.75 kB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4115, allocations: 11.25 kB / 391.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.4117, allocations: 134.5 kB / 391.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4117, allocations: 0 / 391.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003461/0.4151, allocations: 0.5113 MB / 392 MB, free: 4.219 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.00154/0.4167, allocations: 0.5579 MB / 392.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.4175, allocations: 397.4 kB / 393 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4175, allocations: 0 / 393 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.4177, allocations: 89.64 kB / 393.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.418, allocations: 39.64 kB / 393.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.4188, allocations: 395.6 kB / 393.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.419, allocations: 0.7334 MB / 394.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.4191, allocations: 29.94 kB / 394.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.4192, allocations: 15.75 kB / 394.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4192, allocations: 0 / 394.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of Templates: time 0.01852/0.4377, allocations: 7.908 MB / 402.2 MB, free: 84 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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