Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001483/0.001483, allocations: 183 kB / 18.66 MB, free: 4.414 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.806/1.806, allocations: 205.1 MB / 224.5 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.001849/0.001849, allocations: 43.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.133, allocations: 46.63 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003994/0.137, allocations: 1.803 MB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.267/0.404, allocations: 3.547 MB / 380.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.4043, allocations: 9.031 kB / 380.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.4048, allocations: 132.4 kB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.4049, allocations: 34.64 kB / 380.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00658/0.4115, allocations: 1.773 MB / 382.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.4121, allocations: 304.9 kB / 382.7 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4123, allocations: 28.11 kB / 382.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.4125, allocations: 113.8 kB / 382.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.4127, allocations: 108.2 kB / 383 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.4127, allocations: 12.59 kB / 383 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003715/0.4131, allocations: 145.3 kB / 383.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.4133, allocations: 71.69 kB / 383.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4134, allocations: 100.8 kB / 383.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.4139, allocations: 338.9 kB / 383.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4139, allocations: 1.219 kB / 383.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4139, allocations: 0 / 383.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.414, allocations: 1.219 kB / 383.6 MB, free: 9.395 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008559/0.4148, allocations: 0.5825 MB / 384.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4149, allocations: 10.31 kB / 384.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.4149, allocations: 31.27 kB / 384.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.4154, allocations: 283.5 kB / 384.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4154, allocations: 10.59 kB / 384.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.4154, allocations: 19.36 kB / 384.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.4158, allocations: 204.8 kB / 384.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4158, allocations: 0 / 384.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.4158, allocations: 6.438 kB / 384.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4159, allocations: 6.766 kB / 384.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.4161, allocations: 92.34 kB / 384.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/0.4169, allocations: 490.8 kB / 385.3 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.4173, allocations: 168.3 kB / 385.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.4174, allocations: 57.08 kB / 385.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4174, allocations: 1.25 kB / 385.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4175, allocations: 42.58 kB / 385.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.4175, allocations: 0 / 385.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006062/0.4181, allocations: 215.9 kB / 385.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4182, allocations: 286.6 kB / 386.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.4186, allocations: 286 kB / 386.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.4187, allocations: 34.27 kB / 386.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4188, allocations: 150.5 kB / 386.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.4189, allocations: 52.33 kB / 386.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.419, allocations: 59.72 kB / 386.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4191, allocations: 343.3 kB / 387 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.4194, allocations: 102.3 kB / 387.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.4197, allocations: 184.6 kB / 387.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.4202, allocations: 208.3 kB / 387.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4202, allocations: 1.578 kB / 387.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005788/0.4208, allocations: 318.4 kB / 387.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4208, allocations: 5.562 kB / 387.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/0.4208, allocations: 9.266 kB / 387.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.4209, allocations: 1.094 kB / 387.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4212, allocations: 46.84 kB / 387.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4212, allocations: 2.797 kB / 387.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.4213, allocations: 25.12 kB / 387.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4213, allocations: 13.75 kB / 387.9 MB, free: 6.535 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.4215, allocations: 146.3 kB / 388 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.4215, allocations: 28.06 kB / 388.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.4216, allocations: 32.25 kB / 388.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4216, allocations: 5.281 kB / 388.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4216, allocations: 1.984 kB / 388.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4217, allocations: 0.8906 kB / 388.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.422, allocations: 268.3 kB / 388.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.422, allocations: 0 / 388.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.4222, allocations: 30.98 kB / 388.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4222, allocations: 1.125 kB / 388.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4222, allocations: 3.188 kB / 388.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4222, allocations: 1.828 kB / 388.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4222, allocations: 4 kB / 388.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.4228, allocations: 333 kB / 388.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.4228, allocations: 105.1 kB / 388.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.4229, allocations: 5.531 kB / 388.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.423, allocations: 11.66 kB / 388.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.4231, allocations: 7.328 kB / 388.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4231, allocations: 6.375 kB / 388.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.4233, allocations: 202.5 kB / 389.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4233, allocations: 0 / 389.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.4237, allocations: 82.92 kB / 389.1 MB, free: 5.664 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002594/0.424, allocations: 145.8 kB / 389.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.4245, allocations: 281.8 kB / 389.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4245, allocations: 0.9375 kB / 389.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4246, allocations: 66.62 kB / 389.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.4252, allocations: 74.05 kB / 389.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4262, allocations: 0.5489 MB / 390.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.4265, allocations: 0.7716 MB / 391 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.4266, allocations: 39.64 kB / 391.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.4267, allocations: 25.06 kB / 391.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4267, allocations: 3.938 kB / 391.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of Templates: time 0.0107/0.4374, allocations: 3.764 MB / 394.9 MB, free: 3.984 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches