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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9971/0.9971, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.846e-05, allocations: 9.406 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002315/0.002333, allocations: 1.834 MB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.006071, allocations: 3.39 MB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.006175, allocations: 15.81 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.006529, allocations: 143.2 kB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.006602, allocations: 31.66 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.008732, allocations: 1.904 MB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.009245, allocations: 311.1 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.009344, allocations: 24.92 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.009518, allocations: 155.5 kB / 280.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.009609, allocations: 83.75 kB / 280.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.009632, allocations: 12 kB / 280.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.009812, allocations: 175.6 kB / 281 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.009892, allocations: 67.75 kB / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.009945, allocations: 59.78 kB / 281.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.01022, allocations: 314.9 kB / 281.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01022, allocations: 4 kB / 281.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01022, allocations: 0 / 281.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.01023, allocations: 0 / 281.5 MB, free: 9.195 MB / 266.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.000575/0.0108, allocations: 0.6044 MB / 282.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.01084, allocations: 15.98 kB / 282.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.0109, allocations: 40.75 kB / 282.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.01114, allocations: 236.6 kB / 282.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.01115, allocations: 8.562 kB / 282.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.01118, allocations: 20.33 kB / 282.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.01146, allocations: 438.8 kB / 282.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.01146, allocations: 0 / 282.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.01148, allocations: 7.938 kB / 282.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.01149, allocations: 4 kB / 282.8 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.01156, allocations: 35.34 kB / 282.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.01205, allocations: 455.5 kB / 283.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.01218, allocations: 90.97 kB / 283.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.01222, allocations: 31.67 kB / 283.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.01223, allocations: 0 / 283.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.01226, allocations: 41.39 kB / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 7.41e-07/0.01226, allocations: 0 / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000237/0.01249, allocations: 141.1 kB / 283.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.01258, allocations: 286.7 kB / 283.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.01277, allocations: 326.3 kB / 284.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01279, allocations: 33.7 kB / 284.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.01287, allocations: 207.2 kB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.01291, allocations: 55.53 kB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.01297, allocations: 67.36 kB / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01308, allocations: 0.5157 MB / 285.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.01315, allocations: 35.97 kB / 285.1 MB, free: 5.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.01331, allocations: 372 kB / 285.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.01343, allocations: 100.4 kB / 285.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01344, allocations: 4 kB / 285.6 MB, free: 4.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001996/0.01364, allocations: 181.5 kB / 285.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.01365, allocations: 4 kB / 285.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.01366, allocations: 11.98 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.01368, allocations: 0 / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.01383, allocations: 51.91 kB / 285.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01383, allocations: 0 / 285.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.01388, allocations: 23.84 kB / 285.9 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01389, allocations: 7.984 kB / 285.9 MB, free: 4.355 MB / 266.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 7.842e-05/0.01397, allocations: 176.5 kB / 286 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.014, allocations: 27.81 kB / 286.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.01403, allocations: 33.91 kB / 286.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01404, allocations: 4 kB / 286.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01404, allocations: 0 / 286.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01404, allocations: 0 / 286.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01419, allocations: 204.4 kB / 286.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01419, allocations: 4 kB / 286.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.989e-05/0.01428, allocations: 20.09 kB / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.01429, allocations: 3.938 kB / 286.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.0143, allocations: 12 kB / 286.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.0143, allocations: 0 / 286.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.0143, allocations: 0 / 286.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.01453, allocations: 303.6 kB / 286.6 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01455, allocations: 27.81 kB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01457, allocations: 4 kB / 286.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.01463, allocations: 15.98 kB / 286.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.01466, allocations: 3.984 kB / 286.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.01467, allocations: 4 kB / 286.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.01477, allocations: 215 kB / 286.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.01478, allocations: 0 / 286.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01499, allocations: 79.86 kB / 287 MB, free: 3.176 MB / 266.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.0001761/0.01517, allocations: 155 kB / 287.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.01541, allocations: 188.7 kB / 287.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01541, allocations: 0 / 287.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.01546, allocations: 39.67 kB / 287.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.01599, allocations: 76.41 kB / 287.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.01659, allocations: 0.4908 MB / 287.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/0.01665, allocations: 100.3 kB / 288 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.01672, allocations: 37.98 kB / 288 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.01675, allocations: 24.5 kB / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01675, allocations: 0 / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of Templates: time 0.005838/0.02259, allocations: 3.979 MB / 292.1 MB, free: 14.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.014356548897922]