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.0009657/0.0009659, allocations: 95.98 kB / 17.3 MB, free: 6.391 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.001217/0.001218, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.429/1.429, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004778/0.0004781, allocations: 15.98 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.0943, allocations: 47.58 MB / 329 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001881/0.09623, allocations: 1.53 MB / 330.6 MB, free: 2.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.1018, allocations: 3.86 MB / 334.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.102, allocations: 7.938 kB / 334.4 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.1024, allocations: 119.4 kB / 334.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.1025, allocations: 27.78 kB / 334.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.1057, allocations: 1.391 MB / 336 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.1061, allocations: 291 kB / 336.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1063, allocations: 28.73 kB / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1064, allocations: 91.62 kB / 336.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1066, allocations: 111.3 kB / 336.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1066, allocations: 11.94 kB / 336.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.1068, allocations: 131.7 kB / 336.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.107, allocations: 59.81 kB / 336.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1071, allocations: 121 kB / 336.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.1075, allocations: 318.9 kB / 337.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1075, allocations: 0 / 337.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1075, allocations: 0 / 337.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1075, allocations: 0 / 337.1 MB, free: 11.58 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.000793/0.1083, allocations: 0.5375 MB / 337.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1084, allocations: 12.03 kB / 337.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.1084, allocations: 38.75 kB / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.1085, allocations: 32.56 kB / 337.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1088, allocations: 284.1 kB / 338 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1089, allocations: 12.31 kB / 338 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1089, allocations: 31.92 kB / 338.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.1093, allocations: 202.1 kB / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1093, allocations: 0 / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1093, allocations: 8 kB / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1093, allocations: 0 / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1095, allocations: 91.88 kB / 338.4 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.1103, allocations: 496.5 kB / 338.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1106, allocations: 166.4 kB / 339 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1108, allocations: 64.81 kB / 339.1 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1108, allocations: 4 kB / 339.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1108, allocations: 34.56 kB / 339.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1108, allocations: 0 / 339.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004534/0.1113, allocations: 225.6 kB / 339.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.1114, allocations: 294.7 kB / 339.6 MB, free: 8.805 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.1117, allocations: 276.5 kB / 339.9 MB, free: 8.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1117, allocations: 33.7 kB / 339.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1119, allocations: 160.4 kB / 340.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1119, allocations: 47.36 kB / 340.1 MB, free: 8.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.112, allocations: 33.7 kB / 340.1 MB, free: 8.238 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1121, allocations: 338.8 kB / 340.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1123, allocations: 103.9 kB / 340.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1125, allocations: 180.5 kB / 340.8 MB, free: 7.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.1129, allocations: 217.2 kB / 341 MB, free: 7.375 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1129, allocations: 7.938 kB / 341 MB, free: 7.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004446/0.1133, allocations: 313.4 kB / 341.3 MB, free: 7.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1133, allocations: 4 kB / 341.3 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.1134, allocations: 8 kB / 341.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1134, allocations: 0 / 341.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1137, allocations: 59.89 kB / 341.4 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1137, allocations: 3.938 kB / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1138, allocations: 23.86 kB / 341.4 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1138, allocations: 11.94 kB / 341.4 MB, free: 6.945 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.114, allocations: 145.8 kB / 341.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.114, allocations: 23.72 kB / 341.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/0.1141, allocations: 33.97 kB / 341.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1141, allocations: 0 / 341.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1141, allocations: 7.938 kB / 341.6 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1141, allocations: 0 / 341.6 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.1144, allocations: 269.5 kB / 341.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1144, allocations: 3.938 kB / 341.9 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.1146, allocations: 27.98 kB / 341.9 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1146, allocations: 0 / 341.9 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1146, allocations: 8 kB / 341.9 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1146, allocations: 0 / 341.9 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1146, allocations: 3.938 kB / 341.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.1151, allocations: 351.1 kB / 342.2 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1152, allocations: 100.7 kB / 342.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.1152, allocations: 12.05 kB / 342.4 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1153, allocations: 4 kB / 342.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.1154, allocations: 11.92 kB / 342.4 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1154, allocations: 8 kB / 342.4 MB, free: 5.859 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1156, allocations: 195.1 kB / 342.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1156, allocations: 0 / 342.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.1159, allocations: 71.94 kB / 342.6 MB, free: 5.602 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.0008399/0.1168, allocations: 0.919 MB / 343.6 MB, free: 4.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000434/0.1172, allocations: 289 kB / 343.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1172, allocations: 0 / 343.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1173, allocations: 71.89 kB / 343.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1178, allocations: 72.56 kB / 344 MB, free: 4.211 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.1211, allocations: 2.873 MB / 346.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1214, allocations: 0.7675 MB / 347.6 MB, free: 472 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1215, allocations: 45.91 kB / 347.7 MB, free: 428 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1217, allocations: 87.41 kB / 347.8 MB, free: 340 kB / 286.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1217, allocations: 0 / 347.8 MB, free: 340 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.1386, allocations: 6.11 MB / 353.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.1388, allocations: 189.8 kB / 354.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.021, allocations: 0 / 354.1 MB, free: 9.957 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