Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 53.41 kB / 306.9 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1192, allocations: 50.53 MB / 357.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004813/0.1241, allocations: 1.834 MB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008074/0.1322, allocations: 3.555 MB / 362.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.1325, allocations: 3.938 kB / 362.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.1331, allocations: 127.4 kB / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1333, allocations: 31.66 kB / 363 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.1389, allocations: 1.801 MB / 364.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.1395, allocations: 295.2 kB / 365.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1397, allocations: 28.73 kB / 365.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.14, allocations: 123.5 kB / 365.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1402, allocations: 103.4 kB / 365.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.1403, allocations: 12 kB / 365.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.1405, allocations: 143.7 kB / 365.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1407, allocations: 79.73 kB / 365.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1408, allocations: 91.36 kB / 365.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.1414, allocations: 338.8 kB / 366 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1414, allocations: 0 / 366 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1414, allocations: 0 / 366 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1414, allocations: 4 kB / 366 MB, free: 5.586 MB / 302.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.001068/0.1425, allocations: 0.5763 MB / 366.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1425, allocations: 11.97 kB / 366.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.1426, allocations: 28.66 kB / 366.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.143, allocations: 280.2 kB / 366.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.143, allocations: 12.56 kB / 366.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.1431, allocations: 23.91 kB / 366.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1434, allocations: 198.1 kB / 367.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1434, allocations: 3.938 kB / 367.1 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1434, allocations: 7.984 kB / 367.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.1434, allocations: 8 kB / 367.1 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1436, allocations: 87.88 kB / 367.2 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.1444, allocations: 492.4 kB / 367.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1446, allocations: 170.4 kB / 367.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1448, allocations: 60.83 kB / 367.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1448, allocations: 4 kB / 367.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1448, allocations: 34.56 kB / 368 MB, free: 3.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1448, allocations: 0 / 368 MB, free: 3.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004484/0.1453, allocations: 221.4 kB / 368.2 MB, free: 3.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.1454, allocations: 290.7 kB / 368.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1457, allocations: 284.5 kB / 368.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1457, allocations: 33.69 kB / 368.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1459, allocations: 156.4 kB / 368.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.1459, allocations: 47.27 kB / 369 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.146, allocations: 65.62 kB / 369 MB, free: 2.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1461, allocations: 342.8 kB / 369.4 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1463, allocations: 99.94 kB / 369.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1465, allocations: 177.5 kB / 369.6 MB, free: 1.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.1469, allocations: 209.5 kB / 369.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.1469, allocations: 0 / 369.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004566/0.1474, allocations: 305.3 kB / 370.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1474, allocations: 4 kB / 370.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.1474, allocations: 7.984 kB / 370.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1474, allocations: 0 / 370.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1477, allocations: 51.91 kB / 370.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1477, allocations: 0 / 370.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1478, allocations: 35.61 kB / 370.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1479, allocations: 4 kB / 370.2 MB, free: 0.9883 MB / 302.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.0001362/0.148, allocations: 153.8 kB / 370.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.1481, allocations: 23.72 kB / 370.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1481, allocations: 29.97 kB / 370.4 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1481, allocations: 0 / 370.4 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1481, allocations: 0 / 370.4 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1481, allocations: 3.938 kB / 370.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1484, allocations: 273.4 kB / 370.7 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1484, allocations: 0 / 370.7 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1486, allocations: 19.98 kB / 370.7 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1486, allocations: 4 kB / 370.7 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.1487, allocations: 11.98 kB / 370.8 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1487, allocations: 4.109 kB / 370.8 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1487, allocations: 3.938 kB / 370.8 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1491, allocations: 333.4 kB / 371.1 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1959/0.345, allocations: 95.83 kB / 371.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/0.3451, allocations: 7.656 kB / 371.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3453, allocations: 12.94 kB / 371.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.3454, allocations: 9.938 kB / 371.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3454, allocations: 2.25 kB / 371.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3456, allocations: 198.6 kB / 371.4 MB, free: 21.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3456, allocations: 0.8438 kB / 371.4 MB, free: 21.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004603/0.3461, allocations: 79.91 kB / 371.5 MB, free: 21.42 MB / 302.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.0002258/0.3463, allocations: 145.9 kB / 371.6 MB, free: 21.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.3468, allocations: 296.4 kB / 371.9 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3468, allocations: 1.062 kB / 371.9 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3469, allocations: 67.47 kB / 372 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.3474, allocations: 72.5 kB / 372.1 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.3484, allocations: 0.5566 MB / 372.6 MB, free: 20.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3486, allocations: 0.771 MB / 373.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.3487, allocations: 39.5 kB / 373.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3488, allocations: 20.91 kB / 373.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3488, allocations: 0 / 373.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007997/0.3568, allocations: 3.735 MB / 377.2 MB, free: 20.04 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches