Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 81.5 kB / 20.67 MB, free: 0.8906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 150.7 kB / 23.94 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 1.562 kB / 318.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.036e-05, allocations: 4.812 kB / 318.9 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002948/0.002978, allocations: 1.562 MB / 320.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.007849, allocations: 2.949 MB / 323.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.007973, allocations: 1.406 kB / 323.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.008224, allocations: 62.61 kB / 323.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.453e-05/0.008298, allocations: 11.19 kB / 323.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.01326, allocations: 1.495 MB / 325 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.01364, allocations: 151 kB / 325.1 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.01378, allocations: 20.34 kB / 325.2 MB, free: 32 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.01395, allocations: 77.58 kB / 325.2 MB, free: 0 / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.01411, allocations: 36.28 kB / 325.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.01414, allocations: 8.938 kB / 325.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.01841, allocations: 1.427 MB / 326.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.01852, allocations: 38.42 kB / 326.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.01859, allocations: 31.97 kB / 326.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.02218, allocations: 1.45 MB / 328.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02219, allocations: 0 / 328.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02219, allocations: 4 kB / 328.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.0222, allocations: 0 / 328.2 MB, free: 15.15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001995/0.02419, allocations: 0.4959 MB / 328.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.02424, allocations: 10.42 kB / 328.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.02432, allocations: 15.91 kB / 328.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.02461, allocations: 164.5 kB / 328.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.02462, allocations: 3.594 kB / 328.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.02466, allocations: 15.03 kB / 328.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.02499, allocations: 210.5 kB / 329.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.02501, allocations: 1.062 kB / 329.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.02503, allocations: 5.125 kB / 329.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.02503, allocations: 1.344 kB / 329.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.02519, allocations: 58.39 kB / 329.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.0258, allocations: 309.8 kB / 329.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.02625, allocations: 125.3 kB / 329.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.02634, allocations: 43.62 kB / 329.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.02635, allocations: 1.156 kB / 329.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.02639, allocations: 40.95 kB / 329.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.02639, allocations: 0 / 329.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002457/0.02885, allocations: 0.9838 MB / 330.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.02895, allocations: 134.9 kB / 330.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.02915, allocations: 179.8 kB / 331 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.02919, allocations: 31.14 kB / 331 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.02928, allocations: 107.4 kB / 331.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.02934, allocations: 61.81 kB / 331.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.02943, allocations: 43.7 kB / 331.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.02959, allocations: 331.5 kB / 331.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.02979, allocations: 98.41 kB / 331.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.03005, allocations: 208.5 kB / 331.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.03043, allocations: 204 kB / 332.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.03043, allocations: 4 kB / 332.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006191/0.03105, allocations: 317.5 kB / 332.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.03107, allocations: 5.062 kB / 332.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.03108, allocations: 2.625 kB / 332.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.03129, allocations: 48.69 kB / 332.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.03145, allocations: 28.11 kB / 332.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.0329, allocations: 1.375 MB / 333.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.03302, allocations: 7.594 kB / 333.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.03304, allocations: 4.656 kB / 333.8 MB, free: 10.54 MB / 302.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.03322, allocations: 145.6 kB / 334 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.03327, allocations: 14.66 kB / 334 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.03334, allocations: 28.83 kB / 334 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.03334, allocations: 1.094 kB / 334 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.03335, allocations: 1.25 kB / 334 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.03335, allocations: 0 / 334 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.03364, allocations: 173.8 kB / 334.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.03364, allocations: 0 / 334.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.03392, allocations: 48.28 kB / 334.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.03392, allocations: 5.438 kB / 334.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.03394, allocations: 5.25 kB / 334.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.03395, allocations: 1.375 kB / 334.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.03395, allocations: 0 / 334.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.03458, allocations: 418.2 kB / 334.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.03461, allocations: 12.03 kB / 334.7 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.03464, allocations: 10.78 kB / 334.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.03475, allocations: 2.75 kB / 334.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.03481, allocations: 8.109 kB / 334.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.03482, allocations: 10.75 kB / 334.7 MB, free: 9.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.03495, allocations: 134.4 kB / 334.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03495, allocations: 0 / 334.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003279/0.03823, allocations: 0.5145 MB / 335.4 MB, free: 9.762 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.00343/0.04166, allocations: 0.675 MB / 336 MB, free: 9.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008609/0.04252, allocations: 378.3 kB / 336.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.04252, allocations: 4 kB / 336.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.04271, allocations: 86.88 kB / 336.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.04313, allocations: 34.92 kB / 336.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.0439, allocations: 374 kB / 336.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.04404, allocations: 124.1 kB / 337 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.04415, allocations: 33.12 kB / 337 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.04421, allocations: 16.5 kB / 337.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.04421, allocations: 0 / 337.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of Templates: time 0.01782/0.06203, allocations: 8.017 MB / 345.1 MB, free: 0.8633 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.616439770907164]