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.001343/0.001343, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.000292, allocations: 8 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002095/0.126, allocations: 1.496 MB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005424/0.1315, allocations: 3.401 MB / 363.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.1318, allocations: 15.88 kB / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1322, allocations: 107.5 kB / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1324, allocations: 23.78 kB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.137, allocations: 1.37 MB / 365 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.1375, allocations: 263.2 kB / 365.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1376, allocations: 37 kB / 365.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1379, allocations: 91.56 kB / 365.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.138, allocations: 99.47 kB / 365.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.1381, allocations: 8 kB / 365.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.1384, allocations: 119.8 kB / 365.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1385, allocations: 63.8 kB / 365.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.1385, allocations: 61.58 kB / 365.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.139, allocations: 239.4 kB / 366 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.139, allocations: 4 kB / 366 MB, free: 6.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.139, allocations: 0 / 366 MB, free: 6.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.139, allocations: 0 / 366 MB, free: 6.262 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.0008999/0.1399, allocations: 0.5412 MB / 366.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1399, allocations: 8.031 kB / 366.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.14, allocations: 35.62 kB / 366.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.1405, allocations: 271 kB / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.1405, allocations: 8.188 kB / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.1406, allocations: 23.92 kB / 366.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.141, allocations: 211.8 kB / 367.1 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.141, allocations: 0 / 367.1 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.141, allocations: 4 kB / 367.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.141, allocations: 4 kB / 367.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.1413, allocations: 88.5 kB / 367.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/0.1422, allocations: 496.8 kB / 367.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.1425, allocations: 166.5 kB / 367.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1426, allocations: 60.83 kB / 367.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1426, allocations: 0 / 367.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.1427, allocations: 42.59 kB / 367.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.066e-06/0.1427, allocations: 3.984 kB / 367.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005187/0.1432, allocations: 220.6 kB / 368.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/0.1434, allocations: 294.7 kB / 368.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.1438, allocations: 280.5 kB / 368.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.1438, allocations: 33.7 kB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1439, allocations: 148.5 kB / 368.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.144, allocations: 55.2 kB / 368.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.1441, allocations: 0 / 368.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.1443, allocations: 346.8 kB / 369.3 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.1446, allocations: 111.9 kB / 369.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.1449, allocations: 178.1 kB / 369.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.1451, allocations: 116 kB / 369.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1451, allocations: 3.938 kB / 369.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006354/0.1457, allocations: 309.2 kB / 370 MB, free: 1.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1458, allocations: 6.656 kB / 370 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.1458, allocations: 4 kB / 370 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1458, allocations: 7.984 kB / 370 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1461, allocations: 44.08 kB / 370 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1461, allocations: 11.94 kB / 370.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1463, allocations: 27.72 kB / 370.1 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1463, allocations: 8 kB / 370.1 MB, free: 1.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.1464, allocations: 149.8 kB / 370.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.1465, allocations: 31.62 kB / 370.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.1466, allocations: 25.97 kB / 370.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1466, allocations: 4 kB / 370.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1466, allocations: 0 / 370.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1466, allocations: 4 kB / 370.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1469, allocations: 269.5 kB / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.147, allocations: 0 / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.1471, allocations: 31.92 kB / 370.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1471, allocations: 4 kB / 370.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1472, allocations: 0 / 370.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1472, allocations: 0 / 370.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1472, allocations: 4 kB / 370.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.1476, allocations: 335 kB / 370.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.1477, allocations: 100.8 kB / 371 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1478, allocations: 15.98 kB / 371 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1479, allocations: 8 kB / 371.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1479, allocations: 7.984 kB / 371.1 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.148, allocations: 4 kB / 371.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1482, allocations: 199.1 kB / 371.3 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1482, allocations: 4 kB / 371.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1485, allocations: 75.91 kB / 371.3 MB, free: 0.5 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 (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.0002954/0.1488, allocations: 139.2 kB / 371.5 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.1493, allocations: 281.6 kB / 371.7 MB, free: 60 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1493, allocations: 4.094 kB / 371.8 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1722/0.3215, allocations: 64.72 kB / 371.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.3223, allocations: 65.62 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3235, allocations: 0.6145 MB / 372.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3237, allocations: 0.7761 MB / 373.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3239, allocations: 46.05 kB / 373.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.3239, allocations: 21.12 kB / 373.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of SimCode: time 1.783e-06/0.324, allocations: 0 / 373.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of Templates: time 0.008704/0.3327, allocations: 3.452 MB / 376.8 MB, free: 19 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