Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00241/0.00241, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2371, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003214/0.2403, allocations: 1.772 MB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.2464, allocations: 3.324 MB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2466, allocations: 15.81 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.2471, allocations: 131.4 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.2472, allocations: 43.66 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.2516, allocations: 1.772 MB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.2521, allocations: 311.2 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2522, allocations: 16.92 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.2524, allocations: 123.5 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2526, allocations: 103.4 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.2527, allocations: 12 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.253, allocations: 171.7 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2531, allocations: 83.67 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.2532, allocations: 75.48 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.2537, allocations: 354.2 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2537, allocations: 8 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2537, allocations: 0 / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2537, allocations: 0 / 440.6 MB, free: 14.42 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.0008892/0.2546, allocations: 0.5046 MB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2547, allocations: 8.031 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.2547, allocations: 40.69 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.2552, allocations: 222.6 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2552, allocations: 20.5 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.2553, allocations: 19.89 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.2558, allocations: 439.5 kB / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2558, allocations: 0 / 441.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2558, allocations: 4 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2558, allocations: 4 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.2561, allocations: 87.88 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.2569, allocations: 408.3 kB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.2573, allocations: 158.5 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.2574, allocations: 60.92 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2574, allocations: 4.031 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2574, allocations: 42.5 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2574, allocations: 0 / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005268/0.258, allocations: 221.4 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.2581, allocations: 290.7 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2585, allocations: 276.6 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2585, allocations: 29.7 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.2586, allocations: 160.4 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.2587, allocations: 51.58 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.2588, allocations: 61.7 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.259, allocations: 346.7 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.2591, allocations: 95.94 kB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.2596, allocations: 411.8 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.2599, allocations: 206 kB / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2599, allocations: 4 kB / 444.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005085/0.2604, allocations: 305.3 kB / 445 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2605, allocations: 8 kB / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.2605, allocations: 11.98 kB / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2605, allocations: 0 / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2608, allocations: 43.97 kB / 445.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-06/0.2608, allocations: 7.984 kB / 445.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2609, allocations: 31.77 kB / 445.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.2609, allocations: 11.92 kB / 445.1 MB, free: 9.516 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.0001862/0.2611, allocations: 153.8 kB / 445.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.2612, allocations: 27.81 kB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.2612, allocations: 25.91 kB / 445.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2612, allocations: 4 kB / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2612, allocations: 0 / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.2612, allocations: 0 / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.2615, allocations: 197.1 kB / 445.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2615, allocations: 0 / 445.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2617, allocations: 31.92 kB / 445.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2617, allocations: 0 / 445.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2617, allocations: 8 kB / 445.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2617, allocations: 0 / 445.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2617, allocations: 0 / 445.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.2622, allocations: 346.8 kB / 445.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.2623, allocations: 23.81 kB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.2623, allocations: 7.984 kB / 445.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2625, allocations: 8.062 kB / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.2625, allocations: 7.984 kB / 445.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2625, allocations: 3.984 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.2627, allocations: 195.1 kB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2627, allocations: 12.03 kB / 446.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.2631, allocations: 83.78 kB / 446.2 MB, free: 8.352 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.0002793/0.2634, allocations: 143 kB / 446.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.2639, allocations: 268.9 kB / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2639, allocations: 0 / 446.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.264, allocations: 63.91 kB / 446.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.2645, allocations: 84.55 kB / 446.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2657, allocations: 0.5847 MB / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.2658, allocations: 161.8 kB / 447.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.2659, allocations: 27.44 kB / 447.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2659, allocations: 0 / 447.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of Templates: time 0.007095/0.273, allocations: 3.984 MB / 451.5 MB, free: 2.977 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.980046881828457]