Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.0009014/0.0009014, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004768/0.004768, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.9268/0.9268, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.725e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001986/0.002013, allocations: 1.609 MB / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.005593, allocations: 2.996 MB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.005683, allocations: 3.938 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.005981, allocations: 51.77 kB / 330.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.006035, allocations: 19.8 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.008335, allocations: 1.494 MB / 332 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.008517, allocations: 151.6 kB / 332.1 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.008617, allocations: 25.06 kB / 332.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.008692, allocations: 71.81 kB / 332.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.008762, allocations: 47.88 kB / 332.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.008785, allocations: 8 kB / 332.3 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.009917, allocations: 1.432 MB / 333.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.01002, allocations: 31.86 kB / 333.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.01007, allocations: 31.91 kB / 333.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.01122, allocations: 1.447 MB / 335.2 MB, free: 6.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.01123, allocations: 4 kB / 335.2 MB, free: 6.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.01123, allocations: 4 kB / 335.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.01124, allocations: 0 / 335.2 MB, free: 6.008 MB / 298.7 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.0008531/0.01209, allocations: 0.4925 MB / 335.7 MB, free: 5.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01213, allocations: 12.02 kB / 335.7 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.01218, allocations: 20.84 kB / 335.8 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.01237, allocations: 153.5 kB / 335.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.01238, allocations: 4.375 kB / 335.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.01241, allocations: 12.38 kB / 335.9 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.01262, allocations: 202.7 kB / 336.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01263, allocations: 4.172 kB / 336.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.01264, allocations: 11.94 kB / 336.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01265, allocations: 0 / 336.1 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.01274, allocations: 63.83 kB / 336.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.01316, allocations: 304.3 kB / 336.5 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.01342, allocations: 130.5 kB / 336.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.01347, allocations: 40.84 kB / 336.7 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.01348, allocations: 4 kB / 336.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.0135, allocations: 30.56 kB / 336.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.0135, allocations: 0 / 336.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001485/0.01499, allocations: 0.9887 MB / 337.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.01504, allocations: 128.5 kB / 337.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01515, allocations: 178.8 kB / 338 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.01516, allocations: 29.7 kB / 338 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.01522, allocations: 116.5 kB / 338.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.01525, allocations: 48.81 kB / 338.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.0153, allocations: 45.7 kB / 338.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.01539, allocations: 330.8 kB / 338.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01549, allocations: 99.95 kB / 338.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.01565, allocations: 208.4 kB / 338.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.01585, allocations: 209.5 kB / 339 MB, free: 1.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01585, allocations: 0 / 339 MB, free: 1.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003466/0.0162, allocations: 310.2 kB / 339.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01622, allocations: 8 kB / 339.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.01623, allocations: 3.938 kB / 339.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.01637, allocations: 44.77 kB / 339.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.01645, allocations: 35.97 kB / 339.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008805/0.01733, allocations: 1.381 MB / 340.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.01738, allocations: 11.97 kB / 340.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01739, allocations: 4 kB / 340.8 MB, free: 15.97 MB / 314.7 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 9.231e-05/0.01748, allocations: 145.9 kB / 341 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.01751, allocations: 11.91 kB / 341 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.01754, allocations: 37.42 kB / 341 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01754, allocations: 0 / 341 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01754, allocations: 0 / 341 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01755, allocations: 8 kB / 341 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.01769, allocations: 169.2 kB / 341.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01769, allocations: 3.938 kB / 341.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.01783, allocations: 47.97 kB / 341.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01783, allocations: 0 / 341.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01784, allocations: 8 kB / 341.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01785, allocations: 4 kB / 341.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01785, allocations: 0 / 341.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.01819, allocations: 410 kB / 341.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.0182, allocations: 15.84 kB / 341.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.01822, allocations: 0 / 341.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.01827, allocations: 12.03 kB / 341.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.01831, allocations: 11.92 kB / 341.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.01831, allocations: 8 kB / 341.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.971e-05/0.01837, allocations: 124.2 kB / 341.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01837, allocations: 4 kB / 341.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00107/0.01944, allocations: 0.5155 MB / 342.4 MB, free: 14.41 MB / 314.7 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.0007556/0.0202, allocations: 0.6553 MB / 343 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.02065, allocations: 373.8 kB / 343.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02065, allocations: 0 / 343.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.02074, allocations: 83.89 kB / 343.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.02097, allocations: 39.91 kB / 343.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.02148, allocations: 407.7 kB / 343.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.02172, allocations: 114.8 kB / 344 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.02176, allocations: 16.5 kB / 344 MB, free: 12.64 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02176, allocations: 0 / 344 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Templates: time 0.007469/0.02923, allocations: 6.264 MB / 350.3 MB, free: 6.375 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.848942715674639]