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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 99.67 kB / 17.58 MB, free: 5.418 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.001654/0.001654, allocations: 192 kB / 18.51 MB, free: 4.508 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.238/1.238, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001219/0.001219, allocations: 55.92 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07403/0.07526, allocations: 46.62 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002883/0.07818, allocations: 1.834 MB / 329.2 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.08322, allocations: 3.532 MB / 332.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.08338, allocations: 7.938 kB / 332.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.08378, allocations: 139.2 kB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.08389, allocations: 43.62 kB / 332.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.08739, allocations: 1.761 MB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.08771, allocations: 303.2 kB / 335 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.08783, allocations: 36.73 kB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.08798, allocations: 111.5 kB / 335.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.08812, allocations: 103.4 kB / 335.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.08816, allocations: 12 kB / 335.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.08841, allocations: 147.7 kB / 335.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.08852, allocations: 63.81 kB / 335.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.08864, allocations: 111.2 kB / 335.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.08898, allocations: 327 kB / 335.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.089, allocations: 3.938 kB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.089, allocations: 0 / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.08902, allocations: 0 / 335.9 MB, free: 11.84 MB / 286.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.0007355/0.08976, allocations: 0.5724 MB / 336.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.0898, allocations: 15.95 kB / 336.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.08985, allocations: 46.75 kB / 336.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.08992, allocations: 28.66 kB / 336.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.09021, allocations: 284.1 kB / 336.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.09024, allocations: 16.31 kB / 336.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.09029, allocations: 12 kB / 336.8 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.09058, allocations: 210 kB / 337 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.0906, allocations: 0 / 337 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.09062, allocations: 4 kB / 337 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.09063, allocations: 7.984 kB / 337.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.09082, allocations: 87.88 kB / 337.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.0916, allocations: 0.4886 MB / 337.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.09187, allocations: 162.4 kB / 337.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.09198, allocations: 56.83 kB / 337.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.09201, allocations: 7.984 kB / 337.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.09204, allocations: 42.59 kB / 337.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.09204, allocations: 0 / 337.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004266/0.09247, allocations: 213.3 kB / 338.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.0926, allocations: 286.7 kB / 338.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.09287, allocations: 284.5 kB / 338.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.0929, allocations: 29.7 kB / 338.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.09301, allocations: 160.4 kB / 338.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.09305, allocations: 55.25 kB / 338.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.248e-05/0.09314, allocations: 57.7 kB / 339 MB, free: 8.445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.09325, allocations: 338.8 kB / 339.3 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.09343, allocations: 95.94 kB / 339.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.09365, allocations: 184.4 kB / 339.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.09397, allocations: 217.4 kB / 339.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09398, allocations: 0 / 339.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000432/0.09442, allocations: 301.2 kB / 340.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.09444, allocations: 4 kB / 340.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.09447, allocations: 7.984 kB / 340.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.09448, allocations: 0 / 340.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.09475, allocations: 52.08 kB / 340.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.09476, allocations: 7.875 kB / 340.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.09487, allocations: 23.75 kB / 340.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.0949, allocations: 7.984 kB / 340.2 MB, free: 7.184 MB / 286.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.0001189/0.09502, allocations: 153.8 kB / 340.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.09508, allocations: 23.72 kB / 340.3 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.09514, allocations: 29.97 kB / 340.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.09515, allocations: 0 / 340.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.09516, allocations: 7.938 kB / 340.4 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.09517, allocations: 0 / 340.4 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.09543, allocations: 273.4 kB / 340.6 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09544, allocations: 4 kB / 340.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.09561, allocations: 20.08 kB / 340.7 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.09563, allocations: 7.938 kB / 340.7 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.09565, allocations: 4 kB / 340.7 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.09566, allocations: 3.938 kB / 340.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.09566, allocations: 7.938 kB / 340.7 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.09609, allocations: 331.1 kB / 341 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.09615, allocations: 100.8 kB / 341.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.0962, allocations: 8.062 kB / 341.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.09633, allocations: 11.98 kB / 341.1 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.09637, allocations: 7.938 kB / 341.1 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.09638, allocations: 4 kB / 341.1 MB, free: 6.109 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.09655, allocations: 199.1 kB / 341.3 MB, free: 5.918 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09655, allocations: 0 / 341.3 MB, free: 5.918 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.0969, allocations: 79.92 kB / 341.4 MB, free: 5.84 MB / 286.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.0007443/0.09765, allocations: 0.904 MB / 342.3 MB, free: 4.906 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.09809, allocations: 304.9 kB / 342.6 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.0981, allocations: 4 kB / 342.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.09824, allocations: 59.97 kB / 342.7 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.09872, allocations: 77.53 kB / 342.8 MB, free: 4.453 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.1017, allocations: 2.791 MB / 345.5 MB, free: 1.582 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1021, allocations: 0.7714 MB / 346.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1022, allocations: 42.17 kB / 346.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1023, allocations: 83.41 kB / 346.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1023, allocations: 0 / 346.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1273, allocations: 6.449 MB / 352.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.52, allocations: 7.922 kB / 352.9 MB, free: 10.14 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/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