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.001304/0.001304, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001452/0.001452, allocations: 219 kB / 24.49 MB, free: 3.93 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001627/0.001627, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2099, 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.002974/0.2129, allocations: 1.765 MB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00582/0.2187, allocations: 3.332 MB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.2188, allocations: 11.88 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.2192, allocations: 139.3 kB / 437.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2193, allocations: 35.72 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.2232, allocations: 1.779 MB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.2235, allocations: 315.2 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2237, allocations: 20.94 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.2239, allocations: 127.5 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.224, allocations: 107.4 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.2241, allocations: 12 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.2244, allocations: 179.6 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2245, allocations: 79.7 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.2246, allocations: 79.45 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.225, allocations: 345.7 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.225, allocations: 0 / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.225, allocations: 4 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.225, allocations: 4 kB / 440.6 MB, free: 14.4 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.0008956/0.2259, allocations: 0.5046 MB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.226, allocations: 8.031 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.2261, allocations: 32.75 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.2265, allocations: 238.5 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2265, allocations: 12.56 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.2265, allocations: 23.89 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.227, allocations: 433.5 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2271, allocations: 0 / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.2271, allocations: 4 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2271, allocations: 4 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.2273, allocations: 87.88 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.2281, allocations: 404.3 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.2284, allocations: 166.4 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2285, allocations: 64.84 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.2285, allocations: 0 / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.2286, allocations: 38.56 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2286, allocations: 0 / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005723/0.2291, allocations: 219.8 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.2293, allocations: 290.7 kB / 443.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.2296, allocations: 276.6 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2296, allocations: 29.7 kB / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2298, allocations: 168.4 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.2298, allocations: 43.59 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.2299, allocations: 65.64 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2301, allocations: 346.7 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2303, allocations: 95.94 kB / 444.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.2307, allocations: 407.8 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.231, allocations: 210 kB / 444.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.231, allocations: 0 / 444.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005267/0.2316, allocations: 309.3 kB / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2316, allocations: 4.109 kB / 445 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.2316, allocations: 11.92 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2316, allocations: 0 / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.2319, allocations: 43.97 kB / 445.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2319, allocations: 4 kB / 445.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.232, allocations: 35.75 kB / 445.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.232, allocations: 7.984 kB / 445.1 MB, free: 9.504 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.0001506/0.2322, allocations: 153.7 kB / 445.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2323, allocations: 31.81 kB / 445.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/0.2323, allocations: 29.91 kB / 445.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2323, allocations: 0 / 445.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2323, allocations: 0 / 445.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2324, allocations: 27.78 kB / 445.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.2324, allocations: 11.94 kB / 445.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2325, allocations: 7.984 kB / 445.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2326, allocations: 11.98 kB / 445.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006548/0.2332, allocations: 300.7 kB / 445.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005711/0.2338, allocations: 443.3 kB / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001433/0.234, allocations: 79.88 kB / 446.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.2341, allocations: 195.1 kB / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of Backend: time 1.91e-07/0.2341, allocations: 0 / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007804/0.2349, allocations: 338 kB / 446.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of SimCode: time 0.001192/0.2361, allocations: 0.9984 MB / 447.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of Templates: time 0.008912/0.245, allocations: 4.611 MB / 452.3 MB, free: 2.262 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: 4.268258681004227]