Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002621/0.002629, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.351/3.351, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 90.86 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000624/0.0006241, allocations: 12 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6195, allocations: 47.57 MB / 374.5 MB, free: 45.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003645/0.6233, allocations: 1.483 MB / 376 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.6348, allocations: 3.388 MB / 379.4 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.6352, allocations: 9.844 kB / 379.4 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.6362, allocations: 149.7 kB / 379.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.6365, allocations: 29.5 kB / 379.6 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00927/0.6458, allocations: 1.295 MB / 380.9 MB, free: 40.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008907/0.6467, allocations: 211.8 kB / 381.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.647, allocations: 33.36 kB / 381.1 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.6473, allocations: 91.11 kB / 381.2 MB, free: 40.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.6476, allocations: 91.78 kB / 381.3 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.6477, allocations: 9.594 kB / 381.3 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.6483, allocations: 105 kB / 381.4 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.6485, allocations: 62.11 kB / 381.5 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.6487, allocations: 59.8 kB / 381.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.6493, allocations: 248.5 kB / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6494, allocations: 0 / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6494, allocations: 0 / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.6494, allocations: 0 / 381.8 MB, free: 40.27 MB / 298.7 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.001452/0.6509, allocations: 0.5371 MB / 382.3 MB, free: 39.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.651, allocations: 17.3 kB / 382.3 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.6512, allocations: 30.28 kB / 382.3 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.6517, allocations: 268 kB / 382.6 MB, free: 39.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.6518, allocations: 13.73 kB / 382.6 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.6519, allocations: 14.47 kB / 382.6 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.6525, allocations: 210.2 kB / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6526, allocations: 0 / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.6527, allocations: 2.031 kB / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6527, allocations: 3.094 kB / 382.8 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.6532, allocations: 89.03 kB / 382.9 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.655, allocations: 0.4929 MB / 383.4 MB, free: 38.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.6557, allocations: 171.1 kB / 383.6 MB, free: 38.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.6558, allocations: 6.281 kB / 383.6 MB, free: 38.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.6559, allocations: 36.97 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 4.178e-06/0.6559, allocations: 0 / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001118/0.657, allocations: 226.2 kB / 383.9 MB, free: 38.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.6572, allocations: 289.2 kB / 384.1 MB, free: 38.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.6578, allocations: 281.7 kB / 384.4 MB, free: 38.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.6579, allocations: 31.8 kB / 384.4 MB, free: 37.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.6581, allocations: 206.5 kB / 384.6 MB, free: 37.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.6582, allocations: 54.12 kB / 384.7 MB, free: 37.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.6583, allocations: 4 kB / 384.7 MB, free: 37.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.6584, allocations: 322.5 kB / 385 MB, free: 37.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.6588, allocations: 95.42 kB / 385.1 MB, free: 37.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.6594, allocations: 190.2 kB / 385.3 MB, free: 37.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.66, allocations: 129.3 kB / 385.4 MB, free: 37.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.66, allocations: 0 / 385.4 MB, free: 37.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001143/0.6612, allocations: 290 kB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.6612, allocations: 5 kB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.74e-05/0.6613, allocations: 3.344 kB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.6614, allocations: 1.781 kB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.6621, allocations: 50.17 kB / 385.8 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6621, allocations: 1.406 kB / 385.8 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.6625, allocations: 36.23 kB / 385.8 MB, free: 37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.6626, allocations: 5.375 kB / 385.8 MB, free: 37 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.6629, allocations: 157.2 kB / 386 MB, free: 36.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.663, allocations: 24.31 kB / 386 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.642e-05/0.6632, allocations: 27.56 kB / 386 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.6632, allocations: 2.188 kB / 386 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6632, allocations: 0 / 386 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6632, allocations: 0 / 386 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.6638, allocations: 270.3 kB / 386.3 MB, free: 36.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6638, allocations: 9.109 kB / 386.3 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.6644, allocations: 28.05 kB / 386.3 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.6644, allocations: 0 / 386.3 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.6645, allocations: 6.781 kB / 386.3 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6645, allocations: 1.344 kB / 386.3 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6645, allocations: 0 / 386.3 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.6657, allocations: 337.5 kB / 386.7 MB, free: 36.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.6659, allocations: 104 kB / 386.8 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.666, allocations: 13.2 kB / 386.8 MB, free: 36.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.6664, allocations: 8.594 kB / 386.8 MB, free: 36.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.6665, allocations: 16.92 kB / 386.8 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.6665, allocations: 8.125 kB / 386.8 MB, free: 36.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003634/0.6669, allocations: 191.1 kB / 387 MB, free: 35.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6669, allocations: 4 kB / 387 MB, free: 35.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008742/0.6678, allocations: 76 kB / 387.1 MB, free: 35.89 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004808/0.6683, allocations: 143.2 kB / 387.2 MB, free: 35.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009873/0.6693, allocations: 285.6 kB / 387.5 MB, free: 35.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6694, allocations: 0 / 387.5 MB, free: 35.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.6697, allocations: 73.66 kB / 387.6 MB, free: 35.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/0.6706, allocations: 70.8 kB / 387.6 MB, free: 35.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.6727, allocations: 0.6571 MB / 388.3 MB, free: 34.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.6732, allocations: 0.7716 MB / 389.1 MB, free: 33.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6734, allocations: 19.44 kB / 389.1 MB, free: 33.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6734, allocations: 4 kB / 389.1 MB, free: 33.8 MB / 298.7 MB Notification: Performance of Templates: time 0.01393/0.6874, allocations: 3.855 MB / 392.9 MB, free: 29.94 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches