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.001552/0.001552, allocations: 88.94 kB / 21.44 MB, free: 272 kB / 14.72 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.001669/0.001669, allocations: 164.3 kB / 24.7 MB, free: 3.523 MB / 14.72 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 1.384/1.384, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.1.|Bessel.x.2.|Bessel.x.3.",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.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.617e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002926/0.002952, allocations: 1.562 MB / 300.5 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005443/0.008395, allocations: 2.99 MB / 303.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.008514, allocations: 7.938 kB / 303.5 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.008878, allocations: 59.69 kB / 303.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.008949, allocations: 11.88 kB / 303.6 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.01265, allocations: 1.508 MB / 305.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.01291, allocations: 147.6 kB / 305.2 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.01302, allocations: 21.28 kB / 305.2 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.01314, allocations: 71.81 kB / 305.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.01324, allocations: 39.83 kB / 305.3 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.01327, allocations: 8 kB / 305.4 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.0152, allocations: 1.428 MB / 306.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.0153, allocations: 43.83 kB / 306.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.01536, allocations: 27.92 kB / 306.8 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.01719, allocations: 1.443 MB / 308.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.01719, allocations: 0 / 308.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.0172, allocations: 0 / 308.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.01721, allocations: 0 / 308.3 MB, free: 15.34 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.001183/0.01839, allocations: 0.4973 MB / 308.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.01845, allocations: 15.98 kB / 308.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.01852, allocations: 20.84 kB / 308.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.01889, allocations: 149.6 kB / 309 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.0189, allocations: 4.375 kB / 309 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.01896, allocations: 12.38 kB / 309 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.01936, allocations: 206.6 kB / 309.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.01938, allocations: 4.141 kB / 309.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.0194, allocations: 11.94 kB / 309.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.01941, allocations: 0 / 309.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.01956, allocations: 59.89 kB / 309.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.02017, allocations: 308.3 kB / 309.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.02055, allocations: 126.6 kB / 309.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.02065, allocations: 44.77 kB / 309.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.02067, allocations: 8.125 kB / 309.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.02071, allocations: 30.56 kB / 309.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.02071, allocations: 0 / 309.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00235/0.02306, allocations: 0.9933 MB / 310.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.02315, allocations: 128.5 kB / 310.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.02333, allocations: 182.9 kB / 311.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.02336, allocations: 29.7 kB / 311.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.02344, allocations: 112.6 kB / 311.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.0235, allocations: 51.53 kB / 311.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.02358, allocations: 49.66 kB / 311.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.02374, allocations: 326.8 kB / 311.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.02392, allocations: 99.94 kB / 311.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.02416, allocations: 204.5 kB / 311.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.02449, allocations: 196.8 kB / 312.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.02449, allocations: 0 / 312.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005716/0.02506, allocations: 318.3 kB / 312.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.02508, allocations: 4 kB / 312.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.02509, allocations: 4 kB / 312.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.02529, allocations: 48.75 kB / 312.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.02545, allocations: 31.92 kB / 312.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.0269, allocations: 1.389 MB / 313.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.02699, allocations: 8.031 kB / 313.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.02703, allocations: 7.984 kB / 313.9 MB, free: 9.281 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.0001567/0.02718, allocations: 141.7 kB / 314.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.02723, allocations: 15.91 kB / 314.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.02728, allocations: 25.47 kB / 314.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.02728, allocations: 0 / 314.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.02728, allocations: 0 / 314.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.02728, allocations: 0 / 314.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.02753, allocations: 177.3 kB / 314.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.02753, allocations: 3.938 kB / 314.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.0278, allocations: 51.91 kB / 314.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0278, allocations: 0 / 314.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.02782, allocations: 7.984 kB / 314.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.02782, allocations: 0 / 314.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.02782, allocations: 4 kB / 314.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.02839, allocations: 406 kB / 314.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.02841, allocations: 19.84 kB / 314.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.02844, allocations: 8 kB / 314.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.02855, allocations: 4.375 kB / 314.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.02859, allocations: 12.16 kB / 314.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.0286, allocations: 7.984 kB / 314.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.02872, allocations: 127.5 kB / 314.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02872, allocations: 3.938 kB / 314.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001766/0.03048, allocations: 0.5155 MB / 315.4 MB, free: 7.719 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.001301/0.03179, allocations: 0.6673 MB / 316.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006986/0.03248, allocations: 381.8 kB / 316.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03249, allocations: 0 / 316.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.03265, allocations: 79.95 kB / 316.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.033, allocations: 39.97 kB / 316.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.03368, allocations: 389.9 kB / 317 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.03381, allocations: 118.8 kB / 317.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.03389, allocations: 29.12 kB / 317.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.03394, allocations: 16.5 kB / 317.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.03394, allocations: 0 / 317.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of Templates: time 0.1489/0.1828, allocations: 8.004 MB / 325.1 MB, free: 33.91 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.376339919865131]