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.001551/0.001551, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001805/0.001805, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 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 1.474/1.474, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.88 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 53.32 MB / 427.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003236/0.1211, allocations: 1.85 MB / 429.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2222/0.3434, allocations: 3.555 MB / 433.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.3436, allocations: 10.78 kB / 433.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.344, allocations: 134.7 kB / 433.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.3441, allocations: 35 kB / 433.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.3482, allocations: 1.782 MB / 435.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.3487, allocations: 308.8 kB / 435.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3488, allocations: 21.52 kB / 435.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.349, allocations: 118.3 kB / 435.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.3492, allocations: 108.2 kB / 435.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.3492, allocations: 11.53 kB / 435.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.3495, allocations: 148.1 kB / 435.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.3496, allocations: 76.05 kB / 436 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3497, allocations: 102.1 kB / 436.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.3503, allocations: 346.8 kB / 436.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3504, allocations: 3.156 kB / 436.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3504, allocations: 0 / 436.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3504, allocations: 0 / 436.4 MB, free: 7.812 MB / 350.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.0009712/0.3513, allocations: 0.5858 MB / 437 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3514, allocations: 10.97 kB / 437 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.3515, allocations: 32.28 kB / 437 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.352, allocations: 290.7 kB / 437.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.352, allocations: 9.344 kB / 437.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.352, allocations: 20.23 kB / 437.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.3525, allocations: 205.1 kB / 437.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3525, allocations: 1.125 kB / 437.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3525, allocations: 5.125 kB / 437.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3525, allocations: 2.281 kB / 437.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.3528, allocations: 90.28 kB / 437.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3538, allocations: 495.1 kB / 438.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3541, allocations: 161.6 kB / 438.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3542, allocations: 60.78 kB / 438.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3542, allocations: 2.656 kB / 438.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3542, allocations: 32.52 kB / 438.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.3542, allocations: 4 kB / 438.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004853/0.3547, allocations: 219.8 kB / 438.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.3548, allocations: 286.9 kB / 438.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3551, allocations: 281.7 kB / 439.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.3551, allocations: 33.58 kB / 439.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.3552, allocations: 162.9 kB / 439.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3553, allocations: 46.56 kB / 439.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.3553, allocations: 70.72 kB / 439.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.3554, allocations: 342.5 kB / 439.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3556, allocations: 98.98 kB / 439.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.3558, allocations: 172.5 kB / 440.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.3561, allocations: 218.4 kB / 440.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3561, allocations: 0 / 440.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004478/0.3566, allocations: 300.2 kB / 440.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3566, allocations: 6.125 kB / 440.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.3566, allocations: 12.48 kB / 440.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3567, allocations: 6.703 kB / 440.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.3569, allocations: 46.5 kB / 440.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3569, allocations: 1.422 kB / 440.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3571, allocations: 32.52 kB / 440.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3571, allocations: 10.62 kB / 440.7 MB, free: 5.156 MB / 350.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.0001169/0.3572, allocations: 150.1 kB / 440.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.3573, allocations: 24.58 kB / 440.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.3573, allocations: 27.09 kB / 440.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3573, allocations: 2.062 kB / 440.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3573, allocations: 4.328 kB / 440.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3573, allocations: 1.906 kB / 440.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3576, allocations: 272.7 kB / 441.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3576, allocations: 4 kB / 441.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3578, allocations: 26.25 kB / 441.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3578, allocations: 2.047 kB / 441.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.3578, allocations: 8.266 kB / 441.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3578, allocations: 0 / 441.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3578, allocations: 1 kB / 441.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.3582, allocations: 329.2 kB / 441.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.3583, allocations: 108.9 kB / 441.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.3583, allocations: 9.062 kB / 441.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3584, allocations: 7.125 kB / 441.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.3585, allocations: 14.98 kB / 441.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3585, allocations: 3.125 kB / 441.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.3586, allocations: 198.3 kB / 441.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3586, allocations: 0 / 441.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.3591, allocations: 80.58 kB / 441.9 MB, free: 4.293 MB / 350.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.0002152/0.3593, allocations: 138.9 kB / 442.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.3597, allocations: 275.8 kB / 442.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3597, allocations: 1.219 kB / 442.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3598, allocations: 68.52 kB / 442.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.3603, allocations: 75.69 kB / 442.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.3613, allocations: 0.5956 MB / 443.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3615, allocations: 0.7681 MB / 443.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.3616, allocations: 21.31 kB / 443.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3616, allocations: 4 kB / 443.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Templates: time 0.007158/0.3688, allocations: 3.899 MB / 447.8 MB, free: 2.574 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.75343642901862]