Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.001048/0.001048, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001273/0.001273, allocations: 157 kB / 24.99 MB, free: 8.801 MB / 18.57 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 0.9996/0.9996, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.491e-05, allocations: 2.312 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002107/0.002122, allocations: 1.992 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.00652, allocations: 3.573 MB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.006674, allocations: 23.75 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.007158, allocations: 195 kB / 278.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.007242, allocations: 43.53 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.01025, allocations: 2.049 MB / 280.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000433/0.01068, allocations: 0.5065 MB / 281.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.0108, allocations: 37.27 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.01099, allocations: 243.5 kB / 281.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.01113, allocations: 139.6 kB / 281.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.01117, allocations: 28 kB / 281.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.01255, allocations: 1.881 MB / 283.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.01266, allocations: 127.5 kB / 283.8 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.01274, allocations: 95.69 kB / 283.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.01434, allocations: 2.029 MB / 285.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01435, allocations: 8 kB / 285.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01435, allocations: 0 / 285.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.01435, allocations: 0 / 285.9 MB, free: 4.746 MB / 266.7 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.001033/0.01539, allocations: 0.9389 MB / 286.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.01543, allocations: 8.031 kB / 286.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.01553, allocations: 60.61 kB / 286.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.01586, allocations: 305.4 kB / 287.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.01587, allocations: 16.64 kB / 287.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.01593, allocations: 44.31 kB / 287.3 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.01634, allocations: 0.564 MB / 287.9 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01636, allocations: 8.188 kB / 287.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.01639, allocations: 7.938 kB / 287.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.0164, allocations: 7.938 kB / 287.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01651, allocations: 52.8 kB / 287.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.01722, allocations: 0.5811 MB / 288.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.01757, allocations: 170.7 kB / 288.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.01764, allocations: 39.67 kB / 288.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.01765, allocations: 4 kB / 288.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.01769, allocations: 45.33 kB / 288.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.01769, allocations: 0 / 288.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003608/0.01805, allocations: 201.3 kB / 289 MB, free: 1.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.01816, allocations: 367.8 kB / 289.3 MB, free: 1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.01845, allocations: 434.6 kB / 289.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.01848, allocations: 41.69 kB / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.0186, allocations: 247.7 kB / 290 MB, free: 272 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.01865, allocations: 99.16 kB / 290.1 MB, free: 172 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.01875, allocations: 111.3 kB / 290.2 MB, free: 52 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1201/0.1388, allocations: 0.5266 MB / 290.8 MB, free: 26.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.1391, allocations: 67.59 kB / 290.8 MB, free: 26.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.1394, allocations: 0.5139 MB / 291.3 MB, free: 26.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1396, allocations: 180.1 kB / 291.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1396, allocations: 0 / 291.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006181/0.1403, allocations: 378.7 kB / 291.9 MB, free: 26.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1403, allocations: 5.844 kB / 291.9 MB, free: 26.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.1403, allocations: 9.625 kB / 291.9 MB, free: 26.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.1406, allocations: 84.67 kB / 292 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1408, allocations: 62.22 kB / 292 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.1425, allocations: 5.247 MB / 297.3 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1426, allocations: 46.7 kB / 297.3 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1426, allocations: 9.375 kB / 297.3 MB, free: 20.98 MB / 266.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 (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.0001016/0.1427, allocations: 180.7 kB / 297.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1428, allocations: 50.12 kB / 297.6 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1428, allocations: 41.05 kB / 297.6 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1428, allocations: 6.812 kB / 297.6 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1428, allocations: 5.031 kB / 297.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1428, allocations: 1.406 kB / 297.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.143, allocations: 256.3 kB / 297.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.143, allocations: 1.25 kB / 297.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1432, allocations: 43.08 kB / 297.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1432, allocations: 5.625 kB / 297.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1432, allocations: 10.69 kB / 297.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1432, allocations: 1.156 kB / 297.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1432, allocations: 5.891 kB / 297.9 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.1435, allocations: 381.4 kB / 298.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.1436, allocations: 41.25 kB / 298.4 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1436, allocations: 14.72 kB / 298.4 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.1437, allocations: 14.88 kB / 298.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1437, allocations: 17.17 kB / 298.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.1437, allocations: 4.812 kB / 298.4 MB, free: 20.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.1439, allocations: 273.9 kB / 298.7 MB, free: 20.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1439, allocations: 0 / 298.7 MB, free: 20.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001507/0.1454, allocations: 0.6541 MB / 299.3 MB, free: 20.28 MB / 266.7 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.001181/0.1466, allocations: 0.8094 MB / 300.1 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007646/0.1474, allocations: 0.9172 MB / 301 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1474, allocations: 1.094 kB / 301.1 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.1475, allocations: 68.56 kB / 301.1 MB, free: 19.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1478, allocations: 107.7 kB / 301.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.1487, allocations: 0.7605 MB / 302 MB, free: 18.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.1488, allocations: 130.6 kB / 302.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.149, allocations: 61.53 kB / 302.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.149, allocations: 29.16 kB / 302.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.149, allocations: 0 / 302.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of Templates: time 0.01533/0.1644, allocations: 13.51 MB / 315.7 MB, free: 10.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.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: 3.177013623993844]