Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 199 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 100.1 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002121/0.0002122, allocations: 11.98 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.239, allocations: 51.42 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002109/0.2412, allocations: 1.5 MB / 413.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007635/0.2489, allocations: 5.909 MB / 419.5 MB, free: 18.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2491, allocations: 7.938 kB / 419.5 MB, free: 18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.2496, allocations: 123.4 kB / 419.6 MB, free: 17.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2497, allocations: 23.78 kB / 419.6 MB, free: 17.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.2538, allocations: 1.386 MB / 421 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.2542, allocations: 275.1 kB / 421.3 MB, free: 16.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2543, allocations: 42.25 kB / 421.3 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2545, allocations: 107.5 kB / 421.4 MB, free: 16.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2547, allocations: 99.36 kB / 421.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.2547, allocations: 4 kB / 421.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.255, allocations: 127.7 kB / 421.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.2551, allocations: 59.77 kB / 421.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2553, allocations: 121 kB / 421.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.2557, allocations: 318.9 kB / 422.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2557, allocations: 3.938 kB / 422.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2557, allocations: 4 kB / 422.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2557, allocations: 0 / 422.1 MB, free: 15.33 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.0007565/0.2565, allocations: 0.5336 MB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2565, allocations: 12.03 kB / 422.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.2566, allocations: 32.56 kB / 422.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.257, allocations: 288.1 kB / 423 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.257, allocations: 8.562 kB / 423 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.257, allocations: 19.94 kB / 423 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.2574, allocations: 208.9 kB / 423.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2574, allocations: 0 / 423.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.2575, allocations: 4 kB / 423.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2575, allocations: 4 kB / 423.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.2577, allocations: 87.88 kB / 423.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.2586, allocations: 492.5 kB / 423.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.259, allocations: 170.4 kB / 424 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.2592, allocations: 64.83 kB / 424 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2592, allocations: 0 / 424 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2592, allocations: 38.56 kB / 424.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2593, allocations: 0 / 424.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005827/0.2598, allocations: 225.4 kB / 424.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.2599, allocations: 298.7 kB / 424.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.2602, allocations: 288.3 kB / 424.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2603, allocations: 29.7 kB / 424.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.2604, allocations: 152.5 kB / 425 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.2604, allocations: 51.25 kB / 425.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.2604, allocations: 4 kB / 425.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.2605, allocations: 342.8 kB / 425.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.2607, allocations: 99.94 kB / 425.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.261, allocations: 177 kB / 425.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.2614, allocations: 211.8 kB / 425.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2614, allocations: 4 kB / 425.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005771/0.262, allocations: 307.8 kB / 426.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.262, allocations: 11.91 kB / 426.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.2621, allocations: 3.984 kB / 426.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2621, allocations: 4 kB / 426.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.2625, allocations: 43.97 kB / 426.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.2625, allocations: 7.938 kB / 426.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2626, allocations: 35.7 kB / 426.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.2627, allocations: 4 kB / 426.3 MB, free: 10.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.2628, allocations: 145.8 kB / 426.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.2629, allocations: 27.62 kB / 426.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.263, allocations: 29.97 kB / 426.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.263, allocations: 3.984 kB / 426.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.263, allocations: 0 / 426.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.263, allocations: 3.938 kB / 426.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.2633, allocations: 273.6 kB / 426.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2633, allocations: 3.938 kB / 426.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.2636, allocations: 27.92 kB / 426.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2636, allocations: 4 kB / 426.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2637, allocations: 4 kB / 426.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2637, allocations: 4 kB / 426.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2637, allocations: 0 / 426.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.2642, allocations: 343 kB / 427.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.2643, allocations: 104.7 kB / 427.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.2644, allocations: 8.062 kB / 427.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2646, allocations: 7.984 kB / 427.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.2646, allocations: 15.88 kB / 427.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2647, allocations: 7.984 kB / 427.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2649, allocations: 191.1 kB / 427.5 MB, free: 9.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2649, allocations: 4 kB / 427.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.2654, allocations: 79.89 kB / 427.6 MB, free: 9.461 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 (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.0002776/0.2657, allocations: 143.2 kB / 427.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.2662, allocations: 276.9 kB / 428 MB, free: 9.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2662, allocations: 4 kB / 428 MB, free: 9.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.2664, allocations: 71.89 kB / 428.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.2671, allocations: 68.59 kB / 428.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2684, allocations: 0.6361 MB / 428.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2686, allocations: 0.7638 MB / 429.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.2688, allocations: 46.05 kB / 429.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.2689, allocations: 23.44 kB / 429.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2689, allocations: 0 / 429.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of Templates: time 0.009273/0.2782, allocations: 3.575 MB / 433.2 MB, free: 3.797 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches