Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.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.001513/0.001513, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001831/0.001831, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.767/1.767, allocations: 230.5 MB / 258.1 MB, free: 8.137 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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter") [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.001907/0.001907, allocations: 63.89 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003529/0.3205, allocations: 2.036 MB / 434.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006398/0.3269, allocations: 3.772 MB / 437.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.3272, allocations: 11.88 kB / 437.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.3277, allocations: 179.1 kB / 438 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3279, allocations: 43.58 kB / 438.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.3326, allocations: 1.866 MB / 439.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007108/0.3333, allocations: 498.8 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3335, allocations: 29.08 kB / 440.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.3337, allocations: 187.4 kB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3339, allocations: 171.1 kB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.334, allocations: 24 kB / 440.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.3367, allocations: 1.815 MB / 442.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3369, allocations: 127.5 kB / 442.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3371, allocations: 163 kB / 442.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.3391, allocations: 1.788 MB / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3391, allocations: 0 / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3391, allocations: 0 / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3391, allocations: 3.938 kB / 444.7 MB, free: 10.68 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00185/0.341, allocations: 0.9144 MB / 445.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.341, allocations: 8.031 kB / 445.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3411, allocations: 56.59 kB / 445.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.3417, allocations: 350.5 kB / 446 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3417, allocations: 16.66 kB / 446.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.3418, allocations: 28.33 kB / 446.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.3423, allocations: 307.9 kB / 446.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3423, allocations: 0 / 446.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3423, allocations: 11.94 kB / 446.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3423, allocations: 8 kB / 446.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.3426, allocations: 144.7 kB / 446.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3439, allocations: 0.6718 MB / 447.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.3445, allocations: 322.7 kB / 447.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.3447, allocations: 96.8 kB / 447.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.3447, allocations: 4 kB / 447.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.3448, allocations: 38.56 kB / 447.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.3448, allocations: 0 / 447.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007518/0.3455, allocations: 391.8 kB / 448.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002493/0.3458, allocations: 367.8 kB / 448.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.3462, allocations: 406 kB / 448.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.3463, allocations: 37.64 kB / 448.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3465, allocations: 196.9 kB / 449 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.3465, allocations: 95.2 kB / 449.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.3467, allocations: 101.6 kB / 449.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3469, allocations: 370.7 kB / 449.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.3472, allocations: 204.2 kB / 449.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.3476, allocations: 310.4 kB / 450.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.3482, allocations: 397.6 kB / 450.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3482, allocations: 0 / 450.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001141/0.3494, allocations: 0.6499 MB / 451.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3494, allocations: 8 kB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.3494, allocations: 7.984 kB / 451.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004433/0.3498, allocations: 134.4 kB / 451.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3501, allocations: 59.95 kB / 451.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004222/0.3544, allocations: 4.559 MB / 455.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.3546, allocations: 47.69 kB / 455.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.3547, allocations: 12.16 kB / 456 MB, free: 14.62 MB / 366.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.3549, allocations: 177.7 kB / 456.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.355, allocations: 39.72 kB / 456.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.3551, allocations: 43.75 kB / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3551, allocations: 4 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3551, allocations: 3.938 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3551, allocations: 0 / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.3555, allocations: 357.3 kB / 456.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3555, allocations: 0 / 456.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3558, allocations: 39.98 kB / 456.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3558, allocations: 7.922 kB / 456.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.3558, allocations: 15.92 kB / 456.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3558, allocations: 7.938 kB / 456.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3558, allocations: 0 / 456.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.3566, allocations: 0.499 MB / 457.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.3567, allocations: 112.8 kB / 457.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.3567, allocations: 15.92 kB / 457.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3569, allocations: 15.98 kB / 457.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.3569, allocations: 11.98 kB / 457.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.357, allocations: 12 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.3572, allocations: 271.1 kB / 457.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3572, allocations: 4 kB / 457.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002036/0.3593, allocations: 0.648 MB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001586/0.3609, allocations: 0.6836 MB / 458.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.3624, allocations: 0.9366 MB / 459.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3624, allocations: 0 / 459.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.3626, allocations: 115.9 kB / 460 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.3633, allocations: 108.8 kB / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3649, allocations: 0.9819 MB / 461 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.3655, allocations: 0.838 MB / 461.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.3655, allocations: 27.44 kB / 461.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3655, allocations: 4 kB / 461.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of Templates: time 0.02005/0.3856, allocations: 12.15 MB / 474.1 MB, free: 12.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.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: 9.901299461256713]