Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 84.88 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 162.1 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.715e-05, allocations: 2.281 kB / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002924/0.002951, allocations: 1.607 MB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0055/0.008451, allocations: 2.995 MB / 329.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.008585, allocations: 5.062 kB / 329.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.008939, allocations: 55.36 kB / 329.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.009011, allocations: 10.8 kB / 329.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.01343, allocations: 1.502 MB / 331.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.01372, allocations: 158.9 kB / 331.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.01382, allocations: 16.72 kB / 331.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.01394, allocations: 73.67 kB / 331.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.01403, allocations: 40.7 kB / 331.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.01406, allocations: 9.031 kB / 331.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.01623, allocations: 1.427 MB / 332.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.01633, allocations: 39.59 kB / 332.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.01639, allocations: 28.45 kB / 333 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.0181, allocations: 1.452 MB / 334.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0181, allocations: 0 / 334.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01811, allocations: 4 kB / 334.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.01811, allocations: 0 / 334.4 MB, free: 11.21 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.0009607/0.01907, allocations: 0.4957 MB / 334.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01911, allocations: 13.64 kB / 334.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.01916, allocations: 15.53 kB / 334.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.0194, allocations: 153 kB / 335.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.01941, allocations: 7.594 kB / 335.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.01944, allocations: 6.188 kB / 335.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.01973, allocations: 213.1 kB / 335.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01974, allocations: 192 / 335.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.01975, allocations: 5.125 kB / 335.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.01976, allocations: 2.344 kB / 335.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.01991, allocations: 57.86 kB / 335.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.02046, allocations: 310.4 kB / 335.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.02081, allocations: 125.2 kB / 335.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.0209, allocations: 38.66 kB / 335.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.02091, allocations: 5.219 kB / 335.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.02094, allocations: 36.98 kB / 335.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.02094, allocations: 0 / 335.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002307/0.02325, allocations: 0.9939 MB / 336.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.02333, allocations: 132.5 kB / 337 MB, free: 8.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.02351, allocations: 178.2 kB / 337.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.02354, allocations: 29.7 kB / 337.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.02362, allocations: 116.5 kB / 337.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.02367, allocations: 55.56 kB / 337.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.02375, allocations: 41.72 kB / 337.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.02391, allocations: 330.8 kB / 337.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.02409, allocations: 99.94 kB / 337.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.02433, allocations: 211.9 kB / 338 MB, free: 7.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.02468, allocations: 205.3 kB / 338.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.02468, allocations: 0 / 338.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005578/0.02524, allocations: 314.3 kB / 338.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.02525, allocations: 4 kB / 338.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.02526, allocations: 0 / 338.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.02545, allocations: 49.97 kB / 338.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.02561, allocations: 39.92 kB / 338.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.02694, allocations: 1.385 MB / 340 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.02703, allocations: 4.031 kB / 340 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.02705, allocations: 11.94 kB / 340 MB, free: 5.637 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.0001368/0.02718, allocations: 141.9 kB / 340.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.02723, allocations: 15.91 kB / 340.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.02728, allocations: 21.45 kB / 340.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02728, allocations: 4 kB / 340.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.02729, allocations: 0 / 340.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.02729, allocations: 0 / 340.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.02752, allocations: 169.2 kB / 340.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.02752, allocations: 3.938 kB / 340.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.02781, allocations: 55.84 kB / 340.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.02781, allocations: 0 / 340.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.02783, allocations: 12 kB / 340.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.02783, allocations: 0 / 340.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02783, allocations: 0 / 340.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.02841, allocations: 406 kB / 340.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.02844, allocations: 19.92 kB / 340.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.02846, allocations: 4 kB / 340.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02857, allocations: 8.031 kB / 340.9 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.02862, allocations: 15.92 kB / 340.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.02863, allocations: 8 kB / 340.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.02874, allocations: 127.2 kB / 341 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02874, allocations: 4 kB / 341 MB, free: 4.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001571/0.03031, allocations: 0.5116 MB / 341.5 MB, free: 4.082 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.001115/0.03143, allocations: 0.6514 MB / 342.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006536/0.03208, allocations: 373.8 kB / 342.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03208, allocations: 0 / 342.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.03226, allocations: 87.89 kB / 342.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.03259, allocations: 42.91 kB / 342.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.03323, allocations: 382 kB / 343.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.03336, allocations: 118.7 kB / 343.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.563e-05/0.03345, allocations: 29.12 kB / 343.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.0335, allocations: 20.5 kB / 343.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.0335, allocations: 0 / 343.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of Templates: time 0.01428/0.04777, allocations: 8.021 MB / 351.2 MB, free: 10.31 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.495090521872044]