Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007897/0.007897, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 197.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 53.77 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09809, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00349/0.1016, allocations: 1.987 MB / 375.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007237/0.1089, allocations: 3.726 MB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.1091, allocations: 11.88 kB / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.1098, allocations: 183.1 kB / 379.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1099, allocations: 39.59 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.1146, allocations: 1.943 MB / 381 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.1151, allocations: 0.491 MB / 381.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1153, allocations: 57.05 kB / 381.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1155, allocations: 179.4 kB / 381.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1157, allocations: 171.1 kB / 381.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1158, allocations: 24 kB / 382 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.1179, allocations: 1.787 MB / 383.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1181, allocations: 123.6 kB / 383.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.1182, allocations: 162.9 kB / 384 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1202, allocations: 1.777 MB / 385.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1202, allocations: 0 / 385.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1202, allocations: 0 / 385.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1202, allocations: 0 / 385.8 MB, free: 4.629 MB / 318.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.001751/0.122, allocations: 0.8919 MB / 386.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.122, allocations: 12.03 kB / 386.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1222, allocations: 44.38 kB / 386.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.1227, allocations: 346.3 kB / 387.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1227, allocations: 20.59 kB / 387.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1228, allocations: 32.28 kB / 387.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.1233, allocations: 311 kB / 387.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1233, allocations: 0 / 387.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.1233, allocations: 12 kB / 387.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1233, allocations: 0 / 387.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.1236, allocations: 147.8 kB / 387.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.1249, allocations: 0.6679 MB / 388.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.1255, allocations: 326.2 kB / 388.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1257, allocations: 108.7 kB / 388.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1258, allocations: 4 kB / 388.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1258, allocations: 38.56 kB / 388.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.1258, allocations: 4 kB / 388.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007216/0.1265, allocations: 381.2 kB / 389.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/0.1267, allocations: 371.8 kB / 389.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.1271, allocations: 401.8 kB / 389.9 MB, free: 264 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1272, allocations: 37.7 kB / 389.9 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1273, allocations: 196.7 kB / 390.1 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.1274, allocations: 90.91 kB / 390.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1276, allocations: 97.69 kB / 390.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1277, allocations: 358.7 kB / 390.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.1281, allocations: 208.4 kB / 390.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.1286, allocations: 322.3 kB / 391.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.1293, allocations: 393.6 kB / 391.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1293, allocations: 0 / 391.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001163/0.1305, allocations: 0.6499 MB / 392.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1305, allocations: 8 kB / 392.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.1306, allocations: 11.98 kB / 392.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.131, allocations: 126.5 kB / 392.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1313, allocations: 63.91 kB / 392.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.1349, allocations: 4.558 MB / 396.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1352, allocations: 55.45 kB / 397 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.1352, allocations: 12 kB / 397 MB, free: 8.586 MB / 334.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.0002291/0.1355, allocations: 177.7 kB / 397.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.1355, allocations: 39.52 kB / 397.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.1356, allocations: 43.81 kB / 397.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1356, allocations: 8 kB / 397.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1357, allocations: 3.938 kB / 397.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1357, allocations: 0 / 397.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1361, allocations: 353.3 kB / 397.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1361, allocations: 0 / 397.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.1364, allocations: 43.92 kB / 397.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1364, allocations: 0 / 397.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.1365, allocations: 11.98 kB / 397.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1365, allocations: 3.938 kB / 397.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1365, allocations: 4 kB / 397.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.1372, allocations: 0.4948 MB / 398.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.1373, allocations: 112.6 kB / 398.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.1373, allocations: 19.92 kB / 398.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1375, allocations: 16.09 kB / 398.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1375, allocations: 15.92 kB / 398.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1376, allocations: 7.938 kB / 398.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.138, allocations: 275.1 kB / 398.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.138, allocations: 0 / 398.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002004/0.14, allocations: 0.6561 MB / 399.3 MB, free: 6.23 MB / 334.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.00181/0.1418, allocations: 0.6517 MB / 399.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.1433, allocations: 0.9534 MB / 400.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1433, allocations: 0 / 400.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1435, allocations: 119.9 kB / 401 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.1441, allocations: 122.5 kB / 401.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1456, allocations: 0.9111 MB / 402 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.1461, allocations: 0.838 MB / 402.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.1463, allocations: 74.91 kB / 402.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.1463, allocations: 27.44 kB / 403 MB, free: 2.398 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1464, allocations: 0 / 403 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Templates: time 0.0234/0.1698, allocations: 12.89 MB / 415.9 MB, free: 5.484 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.1_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe 2>&1)