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.0009656/0.0009656, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007719/0.0007717, allocations: 86.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 47.58 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00146/0.2369, allocations: 1.478 MB / 376 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.241, allocations: 3.404 MB / 379.4 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2411, allocations: 5.969 kB / 379.4 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.2415, allocations: 115.9 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.2416, allocations: 28.62 kB / 379.6 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.2445, allocations: 1.348 MB / 380.9 MB, free: 40.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2448, allocations: 268.1 kB / 381.2 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.2449, allocations: 37.78 kB / 381.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.245, allocations: 100.7 kB / 381.3 MB, free: 40.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.2451, allocations: 90.14 kB / 381.4 MB, free: 40.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2452, allocations: 5.75 kB / 381.4 MB, free: 40.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.2454, allocations: 122.1 kB / 381.5 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.988e-05/0.2455, allocations: 62.16 kB / 381.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2455, allocations: 60.42 kB / 381.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.2458, allocations: 240.2 kB / 381.9 MB, free: 40.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2458, allocations: 0 / 381.9 MB, free: 40.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2458, allocations: 4 kB / 381.9 MB, free: 40.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2458, allocations: 1.188 kB / 381.9 MB, free: 40.28 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.0006265/0.2464, allocations: 0.5385 MB / 382.4 MB, free: 39.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2465, allocations: 13.45 kB / 382.4 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.2465, allocations: 30.5 kB / 382.5 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.2468, allocations: 272.9 kB / 382.7 MB, free: 39.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2468, allocations: 16.67 kB / 382.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.2469, allocations: 14.22 kB / 382.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.2471, allocations: 206.9 kB / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2472, allocations: 0 / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.2472, allocations: 6.156 kB / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2472, allocations: 3.219 kB / 383 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.2474, allocations: 92.69 kB / 383.1 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.2481, allocations: 0.4896 MB / 383.6 MB, free: 38.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.2484, allocations: 167 kB / 383.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2485, allocations: 62.52 kB / 383.8 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2485, allocations: 2.188 kB / 383.8 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.2485, allocations: 40.53 kB / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2485, allocations: 0 / 383.8 MB, free: 38.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000413/0.2489, allocations: 226.4 kB / 384 MB, free: 38.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.249, allocations: 294.2 kB / 384.3 MB, free: 38.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.2492, allocations: 277 kB / 384.6 MB, free: 37.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2493, allocations: 32.05 kB / 384.6 MB, free: 37.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.2493, allocations: 158.2 kB / 384.8 MB, free: 37.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2494, allocations: 50.08 kB / 384.8 MB, free: 37.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.2494, allocations: 0 / 384.8 MB, free: 37.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.2494, allocations: 343 kB / 385.2 MB, free: 37.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.2496, allocations: 103.2 kB / 385.3 MB, free: 37.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2498, allocations: 183.7 kB / 385.5 MB, free: 37.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.25, allocations: 124.5 kB / 385.6 MB, free: 37.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.25, allocations: 0 / 385.6 MB, free: 37.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004119/0.2504, allocations: 301.1 kB / 385.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2504, allocations: 5.875 kB / 385.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.2505, allocations: 3.25 kB / 385.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2505, allocations: 1 kB / 385.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.2508, allocations: 58.39 kB / 385.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2508, allocations: 5.203 kB / 385.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.2509, allocations: 32.08 kB / 386 MB, free: 37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.2509, allocations: 10.78 kB / 386 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.000103/0.2511, allocations: 151.6 kB / 386.1 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2511, allocations: 23.84 kB / 386.2 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.2512, allocations: 32.31 kB / 386.2 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2512, allocations: 2.469 kB / 386.2 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2512, allocations: 0 / 386.2 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2512, allocations: 4 kB / 386.2 MB, free: 36.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.2514, allocations: 274.9 kB / 386.5 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2514, allocations: 0 / 386.5 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2516, allocations: 23.98 kB / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2516, allocations: 4 kB / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2516, allocations: 0 / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2516, allocations: 0 / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2516, allocations: 4 kB / 386.5 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.252, allocations: 347 kB / 386.8 MB, free: 36.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.252, allocations: 104.8 kB / 386.9 MB, free: 36.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.2521, allocations: 7.984 kB / 386.9 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2522, allocations: 8.062 kB / 386.9 MB, free: 36.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.2522, allocations: 7.984 kB / 387 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.2522, allocations: 4 kB / 387 MB, free: 36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.2524, allocations: 199.1 kB / 387.2 MB, free: 35.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2524, allocations: 4 kB / 387.2 MB, free: 35.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.2527, allocations: 68 kB / 387.2 MB, free: 35.74 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.0001908/0.2529, allocations: 149 kB / 387.4 MB, free: 35.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.2532, allocations: 289.8 kB / 387.7 MB, free: 35.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2532, allocations: 0 / 387.7 MB, free: 35.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2534, allocations: 67.95 kB / 387.7 MB, free: 35.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2538, allocations: 70.95 kB / 387.8 MB, free: 35.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.2546, allocations: 0.665 MB / 388.5 MB, free: 34.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2548, allocations: 0.7638 MB / 389.2 MB, free: 33.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.2548, allocations: 23.44 kB / 389.2 MB, free: 33.64 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2548, allocations: 4 kB / 389.2 MB, free: 33.64 MB / 298.7 MB Notification: Performance of Templates: time 0.004635/0.2595, allocations: 3.843 MB / 393.1 MB, free: 29.79 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/jenkins/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