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: 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_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_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 100.1 kB / 16.96 MB, free: 6.449 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.001529/0.001529, allocations: 180.3 kB / 17.84 MB, free: 6.004 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.579/1.579, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004469/0.0004469, allocations: 11.98 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 47.59 MB / 328.4 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002005/0.1196, allocations: 1.475 MB / 329.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005553/0.1252, allocations: 3.41 MB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1254, allocations: 7.875 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.1258, allocations: 107.5 kB / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.1259, allocations: 35.72 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.1296, allocations: 1.353 MB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.13, allocations: 263.2 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1301, allocations: 20.75 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1303, allocations: 103.5 kB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1304, allocations: 87.5 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1304, allocations: 4 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1307, allocations: 127.7 kB / 335.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1308, allocations: 63.8 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.1309, allocations: 61.52 kB / 335.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1312, allocations: 239.5 kB / 335.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1312, allocations: 0 / 335.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1312, allocations: 4 kB / 335.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1313, allocations: 0 / 335.7 MB, free: 12.71 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.000817/0.1321, allocations: 0.5295 MB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1321, allocations: 23.94 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.1322, allocations: 31.62 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1326, allocations: 275.1 kB / 336.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1326, allocations: 12.14 kB / 336.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.1327, allocations: 23.91 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.133, allocations: 199.8 kB / 336.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.133, allocations: 4 kB / 336.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1331, allocations: 4 kB / 336.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.1331, allocations: 7.984 kB / 336.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1333, allocations: 88.48 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.1342, allocations: 496.8 kB / 337.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1345, allocations: 170.5 kB / 337.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1346, allocations: 64.77 kB / 337.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1347, allocations: 4 kB / 337.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1347, allocations: 34.56 kB / 337.6 MB, free: 10.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1347, allocations: 0 / 337.6 MB, free: 10.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005029/0.1352, allocations: 221.3 kB / 337.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.1354, allocations: 290.7 kB / 338.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1357, allocations: 280.5 kB / 338.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.1357, allocations: 37.7 kB / 338.4 MB, free: 9.676 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1358, allocations: 152.5 kB / 338.6 MB, free: 9.523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1359, allocations: 47.27 kB / 338.6 MB, free: 9.477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.1359, allocations: 11.98 kB / 338.6 MB, free: 9.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1361, allocations: 338.8 kB / 339 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.1363, allocations: 95.94 kB / 339.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1365, allocations: 180.5 kB / 339.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.1367, allocations: 131.9 kB / 339.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1368, allocations: 0 / 339.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004328/0.1372, allocations: 301.5 kB / 339.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1372, allocations: 4 kB / 339.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.1372, allocations: 4 kB / 339.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1373, allocations: 0 / 339.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1375, allocations: 55.91 kB / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1375, allocations: 0 / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1377, allocations: 35.62 kB / 339.8 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1377, allocations: 12 kB / 339.8 MB, free: 8.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.1379, allocations: 149.8 kB / 339.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.1379, allocations: 27.8 kB / 340 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.138, allocations: 25.92 kB / 340 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.138, allocations: 4 kB / 340 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.138, allocations: 0 / 340 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.138, allocations: 7.922 kB / 340 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1383, allocations: 269.5 kB / 340.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1383, allocations: 3.938 kB / 340.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.1385, allocations: 27.98 kB / 340.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1385, allocations: 0 / 340.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1385, allocations: 11.98 kB / 340.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1385, allocations: 0 / 340.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1385, allocations: 0 / 340.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.139, allocations: 351.4 kB / 340.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.139, allocations: 100.8 kB / 340.7 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1391, allocations: 8.062 kB / 340.7 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1392, allocations: 12.11 kB / 340.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1393, allocations: 7.984 kB / 340.8 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1393, allocations: 8 kB / 340.8 MB, free: 7.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1395, allocations: 191.1 kB / 341 MB, free: 7.012 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1395, allocations: 0 / 341 MB, free: 7.012 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1398, allocations: 83.91 kB / 341 MB, free: 6.93 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 (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.0002466/0.1401, allocations: 147.1 kB / 341.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.1405, allocations: 284.9 kB / 341.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1405, allocations: 0 / 341.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1407, allocations: 71.91 kB / 341.5 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.1411, allocations: 68.38 kB / 341.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1421, allocations: 0.6126 MB / 342.2 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1426, allocations: 0.7755 MB / 343 MB, free: 4.902 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.1427, allocations: 41.92 kB / 343 MB, free: 4.863 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.1428, allocations: 19.44 kB / 343 MB, free: 4.844 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1428, allocations: 0 / 343 MB, free: 4.844 MB / 286.1 MB Notification: Performance of Templates: time 0.006702/0.1495, allocations: 3.474 MB / 346.5 MB, free: 1.375 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches