Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001536/0.001536, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001698/0.001698, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 53.3 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003338/0.3096, allocations: 1.87 MB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.3158, allocations: 3.584 MB / 437.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.316, allocations: 15.81 kB / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.3164, allocations: 127.3 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3165, allocations: 39.64 kB / 437.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.3205, allocations: 1.691 MB / 439.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.3209, allocations: 311.1 kB / 439.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3211, allocations: 16.75 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.3213, allocations: 123.5 kB / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3215, allocations: 111.4 kB / 439.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.3215, allocations: 12 kB / 439.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3218, allocations: 155.7 kB / 440.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3219, allocations: 67.7 kB / 440.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.322, allocations: 103.3 kB / 440.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.3225, allocations: 338.6 kB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3225, allocations: 4 kB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3225, allocations: 0 / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3225, allocations: 0 / 440.6 MB, free: 14.82 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.0009704/0.3235, allocations: 0.5877 MB / 441.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3235, allocations: 12.03 kB / 441.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.3236, allocations: 36.73 kB / 441.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.3241, allocations: 288.4 kB / 441.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3242, allocations: 8.562 kB / 441.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.3242, allocations: 23.89 kB / 441.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3246, allocations: 198.1 kB / 441.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3246, allocations: 0 / 441.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.3246, allocations: 8 kB / 441.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3246, allocations: 11.94 kB / 441.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3248, allocations: 83.88 kB / 441.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.3257, allocations: 496.5 kB / 442.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.326, allocations: 166.4 kB / 442.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3261, allocations: 60.81 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3261, allocations: 0 / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3262, allocations: 34.56 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.3262, allocations: 0 / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005113/0.3267, allocations: 217.5 kB / 442.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.3269, allocations: 290.7 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.3272, allocations: 284.5 kB / 443.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3272, allocations: 33.7 kB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3274, allocations: 156.5 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.3274, allocations: 55.58 kB / 443.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.3275, allocations: 57.64 kB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3277, allocations: 342.8 kB / 444 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3279, allocations: 103.9 kB / 444.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.3281, allocations: 184.4 kB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.3285, allocations: 205.2 kB / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3285, allocations: 0 / 444.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004974/0.329, allocations: 301.8 kB / 444.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.329, allocations: 11.94 kB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.329, allocations: 7.984 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.329, allocations: 0 / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.3293, allocations: 55.91 kB / 444.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3293, allocations: 4 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3294, allocations: 35.7 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3295, allocations: 4 kB / 444.8 MB, free: 10.2 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.0001623/0.3296, allocations: 153.7 kB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.3297, allocations: 27.86 kB / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.3297, allocations: 29.97 kB / 445.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3297, allocations: 4 kB / 445.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3297, allocations: 0 / 445.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3297, allocations: 3.938 kB / 445.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.3301, allocations: 265.5 kB / 445.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3301, allocations: 0 / 445.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3302, allocations: 23.98 kB / 445.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3302, allocations: 0 / 445.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3303, allocations: 8 kB / 445.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3303, allocations: 0 / 445.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3303, allocations: 4 kB / 445.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.3308, allocations: 343.1 kB / 445.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.3309, allocations: 100.9 kB / 445.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.3309, allocations: 8.062 kB / 445.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.331, allocations: 11.98 kB / 445.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3311, allocations: 11.92 kB / 445.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3311, allocations: 8 kB / 445.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.3313, allocations: 191.1 kB / 446 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0 / 446 MB, free: 8.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3316, allocations: 79.86 kB / 446.1 MB, free: 8.852 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.0002621/0.3319, allocations: 141.8 kB / 446.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.3323, allocations: 280.8 kB / 446.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3323, allocations: 3.938 kB / 446.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3325, allocations: 59.97 kB / 446.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.3329, allocations: 85.5 kB / 446.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.334, allocations: 0.5955 MB / 447.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.3345, allocations: 0.7752 MB / 448 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.3345, allocations: 19.44 kB / 448 MB, free: 6.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3345, allocations: 0 / 448 MB, free: 6.82 MB / 350.1 MB Notification: Performance of Templates: time 0.006607/0.3411, allocations: 3.908 MB / 451.9 MB, free: 2.914 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 8.126467110123485]