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.00115/0.00115, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001223/0.001223, allocations: 198 kB / 18.07 MB, free: 5.41 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.192/1.192, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001132/0.001132, allocations: 55.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07248/0.07362, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002635/0.07629, allocations: 1.873 MB / 328.6 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005182/0.08149, allocations: 3.922 MB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.08165, allocations: 3.938 kB / 332.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.08204, allocations: 115.5 kB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.08215, allocations: 31.72 kB / 332.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.08513, allocations: 1.399 MB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.08545, allocations: 283.1 kB / 334.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.08557, allocations: 28.73 kB / 334.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.08572, allocations: 103.5 kB / 334.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.08585, allocations: 103.4 kB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.08589, allocations: 8 kB / 334.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.08613, allocations: 131.7 kB / 334.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.08624, allocations: 63.75 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.08634, allocations: 99.27 kB / 334.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.08672, allocations: 322.9 kB / 335.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.08673, allocations: 0 / 335.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.08674, allocations: 4 kB / 335.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.08675, allocations: 0 / 335.2 MB, free: 12.31 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.0007527/0.0875, allocations: 0.5841 MB / 335.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.08755, allocations: 8.031 kB / 335.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.0876, allocations: 42.75 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.08766, allocations: 24.66 kB / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.08795, allocations: 288.2 kB / 336.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.08797, allocations: 12.31 kB / 336.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.08801, allocations: 19.92 kB / 336.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.0883, allocations: 198.1 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.08832, allocations: 0 / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.08834, allocations: 8 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.08835, allocations: 0 / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.08854, allocations: 91.88 kB / 336.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.08928, allocations: 492.4 kB / 336.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.08956, allocations: 178.4 kB / 337.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.08967, allocations: 56.83 kB / 337.1 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.08969, allocations: 4 kB / 337.1 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.08973, allocations: 38.53 kB / 337.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.08974, allocations: 0 / 337.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004182/0.09016, allocations: 213.3 kB / 337.4 MB, free: 9.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.09028, allocations: 298.7 kB / 337.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.09055, allocations: 280.5 kB / 337.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.09058, allocations: 29.7 kB / 338 MB, free: 9.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.09068, allocations: 160.4 kB / 338.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.09072, allocations: 47.27 kB / 338.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.09083, allocations: 57.7 kB / 338.2 MB, free: 8.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.09094, allocations: 342.8 kB / 338.6 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.09113, allocations: 111.9 kB / 338.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.09134, allocations: 180.5 kB / 338.8 MB, free: 8.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.09164, allocations: 205.1 kB / 339 MB, free: 8.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09165, allocations: 0 / 339 MB, free: 8.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004272/0.09209, allocations: 313.4 kB / 339.4 MB, free: 7.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.09211, allocations: 8 kB / 339.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.09214, allocations: 7.984 kB / 339.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.09216, allocations: 4.109 kB / 339.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.09242, allocations: 51.91 kB / 339.4 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.09243, allocations: 3.938 kB / 339.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.09254, allocations: 27.73 kB / 339.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.09257, allocations: 8 kB / 339.5 MB, free: 7.637 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.0001279/0.09271, allocations: 145.8 kB / 339.6 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.09276, allocations: 27.72 kB / 339.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.09282, allocations: 29.97 kB / 339.7 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.09282, allocations: 0 / 339.7 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.09284, allocations: 7.938 kB / 339.7 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.09284, allocations: 0 / 339.7 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.09311, allocations: 273.4 kB / 339.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.09312, allocations: 0 / 339.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.0933, allocations: 27.92 kB / 340 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.09331, allocations: 0 / 340 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.09334, allocations: 4 kB / 340 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.09335, allocations: 7.984 kB / 340 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.09336, allocations: 3.938 kB / 340 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.09378, allocations: 335 kB / 340.3 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.09384, allocations: 96.83 kB / 340.4 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.09388, allocations: 8.062 kB / 340.4 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.09401, allocations: 7.984 kB / 340.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.09406, allocations: 15.92 kB / 340.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.09407, allocations: 8.094 kB / 340.4 MB, free: 6.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.09424, allocations: 195 kB / 340.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.09424, allocations: 0 / 340.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003348/0.09458, allocations: 83.86 kB / 340.7 MB, free: 6.293 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.0008257/0.09542, allocations: 0.9041 MB / 341.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.09585, allocations: 280.9 kB / 341.9 MB, free: 5.066 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.09586, allocations: 0 / 341.9 MB, free: 5.066 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.09599, allocations: 68.03 kB / 342 MB, free: 5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.09646, allocations: 80.5 kB / 342 MB, free: 4.922 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.09971, allocations: 2.825 MB / 344.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.09999, allocations: 0.7791 MB / 345.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1001, allocations: 37.92 kB / 345.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1002, allocations: 87.41 kB / 345.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1002, allocations: 0 / 345.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.116, allocations: 6.213 MB / 352 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.1162, allocations: 190.3 kB / 352.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.93, allocations: 0 / 352.2 MB, free: 10.59 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches