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.001773/0.001773, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 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.002044/0.002044, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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 1.415/1.415, allocations: 222.9 MB / 247 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|Bessel.x.2.|Bessel.x.3.",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.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 51.92 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09976, allocations: 49.44 MB / 408.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002745/0.1026, allocations: 1.607 MB / 409.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.1076, allocations: 3.16 MB / 412.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1077, allocations: 3.938 kB / 412.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1081, allocations: 55.7 kB / 412.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.1082, allocations: 11.86 kB / 412.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.1114, allocations: 1.427 MB / 414.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1117, allocations: 147.6 kB / 414.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1118, allocations: 29.06 kB / 414.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.1119, allocations: 51.83 kB / 414.6 MB, free: 480 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.112, allocations: 59.7 kB / 414.6 MB, free: 420 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1121, allocations: 8 kB / 414.6 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.1137, allocations: 1.374 MB / 416 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.1138, allocations: 39.89 kB / 416.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.1139, allocations: 51.67 kB / 416.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1152, allocations: 1.204 MB / 417.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1152, allocations: 4 kB / 417.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1153, allocations: 0 / 417.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1153, allocations: 0 / 417.3 MB, free: 13.73 MB / 350.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.001064/0.1163, allocations: 0.561 MB / 417.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1164, allocations: 12.03 kB / 417.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.1164, allocations: 16.78 kB / 417.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1167, allocations: 228.1 kB / 418.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1168, allocations: 11.94 kB / 418.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.1168, allocations: 8 kB / 418.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1171, allocations: 126.8 kB / 418.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1171, allocations: 3.938 kB / 418.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1171, allocations: 4 kB / 418.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1171, allocations: 3.938 kB / 418.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1173, allocations: 55.95 kB / 418.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.1179, allocations: 380.6 kB / 418.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.1183, allocations: 130.5 kB / 418.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.1184, allocations: 36.84 kB / 418.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1185, allocations: 4 kB / 418.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.1185, allocations: 42.55 kB / 418.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1185, allocations: 0 / 418.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002328/0.1208, allocations: 1.218 MB / 420.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.1209, allocations: 128.5 kB / 420.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1211, allocations: 174.3 kB / 420.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1212, allocations: 38.86 kB / 420.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.1212, allocations: 112.5 kB / 420.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.1213, allocations: 51.55 kB / 420.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.1214, allocations: 45.7 kB / 420.7 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1215, allocations: 326.8 kB / 421 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1217, allocations: 91.94 kB / 421.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.1219, allocations: 136 kB / 421.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.1223, allocations: 208.9 kB / 421.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1223, allocations: 0 / 421.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005545/0.1228, allocations: 310.1 kB / 421.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1229, allocations: 4 kB / 421.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.1229, allocations: 0 / 421.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.1231, allocations: 48.84 kB / 421.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1233, allocations: 43.92 kB / 421.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.1247, allocations: 1.511 MB / 423.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.1248, allocations: 4.031 kB / 423.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1248, allocations: 12 kB / 423.3 MB, free: 7.152 MB / 350.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.0001346/0.1249, allocations: 141.7 kB / 423.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.125, allocations: 15.91 kB / 423.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.1251, allocations: 21.52 kB / 423.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1251, allocations: 12 kB / 423.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1251, allocations: 0 / 423.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1251, allocations: 0 / 423.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1254, allocations: 249.5 kB / 423.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1254, allocations: 0 / 423.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.1257, allocations: 51.97 kB / 423.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1257, allocations: 4 kB / 423.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1257, allocations: 0 / 423.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1257, allocations: 3.938 kB / 423.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1257, allocations: 0 / 423.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.1263, allocations: 420.3 kB / 424.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.1263, allocations: 85.06 kB / 424.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1264, allocations: 48 / 424.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1265, allocations: 15.92 kB / 424.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.1265, allocations: 7.984 kB / 424.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1266, allocations: 4 kB / 424.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1267, allocations: 124.2 kB / 424.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1267, allocations: 4 kB / 424.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001461/0.1281, allocations: 0.5194 MB / 425 MB, free: 5.406 MB / 350.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.001133/0.1293, allocations: 0.5618 MB / 425.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.13, allocations: 389.9 kB / 425.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.13, allocations: 4 kB / 425.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1302, allocations: 83.89 kB / 426 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1305, allocations: 34.33 kB / 426.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.1312, allocations: 438.9 kB / 426.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1316, allocations: 0.7397 MB / 427.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.1317, allocations: 15.44 kB / 427.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1317, allocations: 0 / 427.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Templates: time 0.1856/0.3172, allocations: 6.196 MB / 433.4 MB, free: 20.35 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.274726422969252]