Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009823/0.0009823, allocations: 79.75 kB / 22.45 MB, free: 2.094 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.0009504/0.0009504, allocations: 172.1 kB / 25.75 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8084/0.8084, allocations: 158.6 MB / 187.5 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.537e-05, allocations: 2.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002361/0.002386, allocations: 1.614 MB / 252.7 MB, free: 6.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.006972, allocations: 3.071 MB / 255.8 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.007065, allocations: 3.938 kB / 255.8 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.007368, allocations: 55.7 kB / 255.8 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.007423, allocations: 19.8 kB / 255.9 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.0104, allocations: 1.512 MB / 257.4 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.01061, allocations: 151.6 kB / 257.5 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.0107, allocations: 17.3 kB / 257.5 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.01079, allocations: 79.8 kB / 257.6 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.01086, allocations: 39.91 kB / 257.6 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.01089, allocations: 8 kB / 257.7 MB, free: 1.227 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.01222, allocations: 1.425 MB / 259.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.0123, allocations: 35.84 kB / 259.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.01235, allocations: 31.91 kB / 259.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.01397, allocations: 1.442 MB / 260.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01398, allocations: 0 / 260.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01398, allocations: 0 / 260.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.01398, allocations: 0 / 260.6 MB, free: 14.29 MB / 250.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.0009127/0.01489, allocations: 0.5895 MB / 261.2 MB, free: 13.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01493, allocations: 11.98 kB / 261.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.015, allocations: 24.84 kB / 261.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.01522, allocations: 152.4 kB / 261.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.01523, allocations: 8.375 kB / 261.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.01527, allocations: 12.38 kB / 261.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.01551, allocations: 202.7 kB / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01553, allocations: 4.141 kB / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.01554, allocations: 3.938 kB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.01555, allocations: 4 kB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.01562, allocations: 27.78 kB / 261.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.01617, allocations: 363.5 kB / 262 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.01647, allocations: 79.12 kB / 262 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.01653, allocations: 23.86 kB / 262.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.01654, allocations: 3.938 kB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.01657, allocations: 37.39 kB / 262.1 MB, free: 12.6 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.01657, allocations: 3.938 kB / 262.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.001333/0.01791, allocations: 0.6977 MB / 262.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.01797, allocations: 132.5 kB / 262.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.01835, allocations: 229.8 kB / 263.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01836, allocations: 25.7 kB / 263.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.01843, allocations: 159.3 kB / 263.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.01847, allocations: 59.52 kB / 263.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.01854, allocations: 59.31 kB / 263.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.01866, allocations: 0.4962 MB / 264 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.01873, allocations: 35.97 kB / 264 MB, free: 10.55 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01885, allocations: 159.8 kB / 264.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.019, allocations: 99.61 kB / 264.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.019, allocations: 0 / 264.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002927/0.01929, allocations: 173.1 kB / 264.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.0193, allocations: 8 kB / 264.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.01932, allocations: 3.984 kB / 264.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.01946, allocations: 31.61 kB / 264.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01957, allocations: 31.92 kB / 264.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009278/0.0205, allocations: 1.744 MB / 266.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.02057, allocations: 7.984 kB / 266.2 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.02058, allocations: 8.125 kB / 266.3 MB, free: 8.113 MB / 250.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.727e-05/0.02068, allocations: 168.5 kB / 266.4 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.02072, allocations: 19.91 kB / 266.4 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.02075, allocations: 21.47 kB / 266.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.02076, allocations: 4 kB / 266.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02076, allocations: 0 / 266.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02076, allocations: 3.984 kB / 266.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.02094, allocations: 168.5 kB / 266.6 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02094, allocations: 3.938 kB / 266.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.02116, allocations: 51.97 kB / 266.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.02116, allocations: 0 / 266.7 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.02117, allocations: 4 kB / 266.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.02117, allocations: 0 / 266.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02117, allocations: 0 / 266.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.02147, allocations: 299.7 kB / 267 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.02149, allocations: 19.84 kB / 267 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.02151, allocations: 3.984 kB / 267 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.02159, allocations: 8 kB / 267 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.02163, allocations: 7.984 kB / 267 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.02164, allocations: 8 kB / 267 MB, free: 7.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.02173, allocations: 160.2 kB / 267.2 MB, free: 7.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02173, allocations: 0 / 267.2 MB, free: 7.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001414/0.02314, allocations: 0.5194 MB / 267.7 MB, free: 6.594 MB / 250.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.0009903/0.02413, allocations: 0.674 MB / 268.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.02457, allocations: 335.9 kB / 268.7 MB, free: 5.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02457, allocations: 4 kB / 268.7 MB, free: 5.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.02464, allocations: 47.61 kB / 268.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.02493, allocations: 38.78 kB / 268.8 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.02544, allocations: 338.6 kB / 269.1 MB, free: 5.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.609e-05/0.02549, allocations: 79.81 kB / 269.2 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.02556, allocations: 21.12 kB / 269.2 MB, free: 4.988 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.0256, allocations: 20.5 kB / 269.2 MB, free: 4.969 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0256, allocations: 0 / 269.2 MB, free: 4.969 MB / 250.7 MB Notification: Performance of Templates: time 0.01308/0.03868, allocations: 8.062 MB / 277.3 MB, free: 12.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.593861578963697]