Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.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.00179/0.00179, allocations: 76.44 kB / 21.24 MB, free: 0.5469 MB / 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.002011/0.002011, allocations: 161.9 kB / 24.5 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 53.91 kB / 325.5 MB, free: 456 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09216, allocations: 53.35 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003144/0.0953, allocations: 1.926 MB / 380.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005841/0.1011, allocations: 3.492 MB / 384.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1013, allocations: 23.75 kB / 384.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.1018, allocations: 195.1 kB / 384.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1019, allocations: 47.47 kB / 384.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.1062, allocations: 1.936 MB / 386.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.1069, allocations: 0.4988 MB / 387 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1071, allocations: 33.25 kB / 387 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.1073, allocations: 187.3 kB / 387.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1076, allocations: 175.1 kB / 387.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.1077, allocations: 20 kB / 387.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.1108, allocations: 1.877 MB / 389.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.111, allocations: 127.6 kB / 389.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.1112, allocations: 131.1 kB / 389.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.1134, allocations: 1.808 MB / 391.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1134, allocations: 0 / 391.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1134, allocations: 7.938 kB / 391.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1134, allocations: 0 / 391.4 MB, free: 3.297 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001817/0.1152, allocations: 0.8352 MB / 392.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1153, allocations: 8.031 kB / 392.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1154, allocations: 52.61 kB / 392.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.116, allocations: 291.3 kB / 392.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.1161, allocations: 16.66 kB / 392.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.1161, allocations: 28.33 kB / 392.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.1169, allocations: 0.6096 MB / 393.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1169, allocations: 0 / 393.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1169, allocations: 11.98 kB / 393.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1169, allocations: 4 kB / 393.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.1172, allocations: 144.7 kB / 393.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1185, allocations: 0.5584 MB / 393.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.1192, allocations: 310.7 kB / 394.2 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.1194, allocations: 104.7 kB / 394.3 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1194, allocations: 4 kB / 394.3 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.1194, allocations: 42.61 kB / 394.4 MB, free: 72 kB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.1194, allocations: 0 / 394.4 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008494/0.1203, allocations: 385.2 kB / 394.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/0.1205, allocations: 371.9 kB / 395.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.121, allocations: 405.8 kB / 395.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.121, allocations: 33.7 kB / 395.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.1212, allocations: 200.9 kB / 395.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.1213, allocations: 87.23 kB / 395.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1214, allocations: 109.6 kB / 395.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1216, allocations: 362.7 kB / 396.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.122, allocations: 204.2 kB / 396.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.1227, allocations: 0.6079 MB / 397.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007396/0.1234, allocations: 400.6 kB / 397.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1234, allocations: 0 / 397.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001221/0.1247, allocations: 0.645 MB / 398.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1247, allocations: 8 kB / 398.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/0.1247, allocations: 11.98 kB / 398.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.1252, allocations: 130.4 kB / 398.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.1255, allocations: 59.97 kB / 398.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.1297, allocations: 4.183 MB / 402.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.13, allocations: 43.69 kB / 402.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.13, allocations: 12 kB / 402.6 MB, free: 7.289 MB / 366.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002699/0.1303, allocations: 185.9 kB / 402.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.1303, allocations: 43.72 kB / 402.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/0.1304, allocations: 43.84 kB / 402.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1304, allocations: 7.938 kB / 402.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1304, allocations: 0 / 402.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1304, allocations: 0 / 402.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.1308, allocations: 261 kB / 403.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1308, allocations: 0 / 403.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.1311, allocations: 39.92 kB / 403.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1311, allocations: 4 kB / 403.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1311, allocations: 15.98 kB / 403.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1311, allocations: 0 / 403.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1311, allocations: 0 / 403.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.1319, allocations: 0.5018 MB / 403.6 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.132, allocations: 35.72 kB / 403.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.132, allocations: 19.98 kB / 403.7 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.1322, allocations: 7.984 kB / 403.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.1323, allocations: 15.98 kB / 403.7 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1323, allocations: 7.984 kB / 403.7 MB, free: 6.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.1326, allocations: 271.1 kB / 404 MB, free: 5.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1326, allocations: 0 / 404 MB, free: 5.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002195/0.1348, allocations: 0.6559 MB / 404.7 MB, free: 5.137 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001364/0.1362, allocations: 0.6744 MB / 405.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.1376, allocations: 0.9178 MB / 406.2 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1376, allocations: 4 kB / 406.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1378, allocations: 115.9 kB / 406.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.1385, allocations: 134.7 kB / 406.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.14, allocations: 0.9152 MB / 407.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1403, allocations: 233.1 kB / 407.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1405, allocations: 66.92 kB / 407.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.1405, allocations: 32.5 kB / 407.7 MB, free: 1.922 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1405, allocations: 0 / 407.7 MB, free: 1.922 MB / 366.1 MB Notification: Performance of Templates: time 0.02376/0.1643, allocations: 13.41 MB / 421.1 MB, free: 4.602 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.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.813460792996921]