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.001169/0.001169, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001205/0.001205, allocations: 139.1 kB / 24.97 MB, free: 8.359 MB / 18.57 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 0.9426/0.9426, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.05e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002047/0.002078, allocations: 1.625 MB / 269.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.005773, allocations: 3.019 MB / 272.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.005861, allocations: 7.938 kB / 272.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.006174, allocations: 63.56 kB / 272.8 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.006224, allocations: 15.86 kB / 272.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.008401, allocations: 1.504 MB / 274.3 MB, free: 492 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.008567, allocations: 159.6 kB / 274.4 MB, free: 332 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.008655, allocations: 9.312 kB / 274.5 MB, free: 320 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.008726, allocations: 75.86 kB / 274.5 MB, free: 244 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.008788, allocations: 43.81 kB / 274.6 MB, free: 200 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.008805, allocations: 8 kB / 274.6 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.009751, allocations: 1.425 MB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.009821, allocations: 35.91 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.009861, allocations: 31.86 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000971/0.01083, allocations: 1.43 MB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01083, allocations: 0 / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01083, allocations: 4 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.01084, allocations: 0 / 277.5 MB, free: 13.26 MB / 266.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.0005915/0.01143, allocations: 0.5972 MB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01147, allocations: 12.92 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.01152, allocations: 20.84 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.01171, allocations: 160.4 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.01173, allocations: 8.375 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.01175, allocations: 16.12 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.01193, allocations: 209.2 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01195, allocations: 8 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.01196, allocations: 0 / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.01196, allocations: 0 / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.01201, allocations: 27.97 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.0124, allocations: 355.4 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.01261, allocations: 87.06 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.01264, allocations: 23.8 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.01265, allocations: 4 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.01267, allocations: 41.39 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.01267, allocations: 0 / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001031/0.01371, allocations: 0.6933 MB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01376, allocations: 136.5 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.01388, allocations: 225.8 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.01389, allocations: 25.7 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.01396, allocations: 159.3 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.01399, allocations: 63.47 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.01404, allocations: 47.36 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01416, allocations: 0.4962 MB / 280.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.01422, allocations: 31.98 kB / 280.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.01432, allocations: 167.8 kB / 281.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.01443, allocations: 88.55 kB / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01444, allocations: 0 / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002444/0.01468, allocations: 189 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01469, allocations: 4 kB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.01471, allocations: 0 / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.01483, allocations: 35.59 kB / 281.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.01492, allocations: 27.98 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007938/0.01571, allocations: 1.744 MB / 283.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.01575, allocations: 8 kB / 283.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01576, allocations: 4 kB / 283.2 MB, free: 7.078 MB / 266.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 8.565e-05/0.01585, allocations: 168.5 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.01587, allocations: 19.88 kB / 283.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.0159, allocations: 25.41 kB / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.0159, allocations: 0 / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.0159, allocations: 0 / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01591, allocations: 12.11 kB / 283.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.01604, allocations: 172.5 kB / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01604, allocations: 0 / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.01618, allocations: 55.95 kB / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.01618, allocations: 0 / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01619, allocations: 4 kB / 283.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.0162, allocations: 0 / 283.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0162, allocations: 0 / 283.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.01642, allocations: 302.5 kB / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01644, allocations: 11.91 kB / 283.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.01645, allocations: 12 kB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.0165, allocations: 11.98 kB / 284 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.01653, allocations: 3.984 kB / 284 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01654, allocations: 4 kB / 284 MB, free: 6.227 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.0166, allocations: 160.2 kB / 284.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0166, allocations: 4 kB / 284.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008078/0.01741, allocations: 0.5155 MB / 284.6 MB, free: 5.551 MB / 266.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.0007312/0.01814, allocations: 0.6627 MB / 285.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.01849, allocations: 343.9 kB / 285.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01849, allocations: 0 / 285.6 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.01855, allocations: 55.59 kB / 285.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01876, allocations: 27.92 kB / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.01919, allocations: 334.6 kB / 286 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.01923, allocations: 87.75 kB / 286.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.01928, allocations: 29.06 kB / 286.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.01931, allocations: 20.5 kB / 286.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01931, allocations: 0 / 286.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of Templates: time 0.09443/0.1137, allocations: 8.054 MB / 294.2 MB, free: 28.51 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.818844581954181]