Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006092/0.006092, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001432/0.001432, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.471/1.471, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001398/0.001398, allocations: 50.52 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1048, allocations: 46.64 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003194/0.108, allocations: 1.582 MB / 374.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.1131, allocations: 3.207 MB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1133, allocations: 7.875 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.1137, allocations: 63.7 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.1137, allocations: 15.84 kB / 378 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.1171, allocations: 1.403 MB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.1174, allocations: 151.6 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1175, allocations: 25.11 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.1176, allocations: 51.84 kB / 379.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1177, allocations: 55.69 kB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1178, allocations: 11.94 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.1197, allocations: 1.382 MB / 381.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/0.1198, allocations: 27.92 kB / 381.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.1199, allocations: 55.66 kB / 381.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1212, allocations: 1.204 MB / 382.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1212, allocations: 4 kB / 382.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1212, allocations: 0 / 382.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1213, allocations: 0 / 382.4 MB, free: 8.047 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001098/0.1224, allocations: 0.565 MB / 383 MB, free: 7.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1224, allocations: 12.03 kB / 383 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.1225, allocations: 16.84 kB / 383 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1227, allocations: 212.1 kB / 383.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1227, allocations: 16.36 kB / 383.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.1228, allocations: 16.33 kB / 383.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.123, allocations: 128.9 kB / 383.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1231, allocations: 0 / 383.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1231, allocations: 0 / 383.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1231, allocations: 4 kB / 383.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1232, allocations: 55.95 kB / 383.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.1238, allocations: 380.6 kB / 383.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.1242, allocations: 126.5 kB / 383.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.1243, allocations: 44.83 kB / 384 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1243, allocations: 8 kB / 384 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1244, allocations: 34.56 kB / 384 MB, free: 6.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1244, allocations: 0 / 384 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002225/0.1266, allocations: 1.215 MB / 385.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.1267, allocations: 132.5 kB / 385.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1269, allocations: 182.2 kB / 385.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1269, allocations: 29.7 kB / 385.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.127, allocations: 120.4 kB / 385.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.127, allocations: 55.48 kB / 385.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.1271, allocations: 49.7 kB / 385.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1272, allocations: 322.8 kB / 386.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1274, allocations: 99.94 kB / 386.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1276, allocations: 135.3 kB / 386.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.128, allocations: 204.8 kB / 386.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.128, allocations: 0 / 386.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005179/0.1285, allocations: 310.1 kB / 386.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1285, allocations: 4 kB / 386.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.1285, allocations: 11.97 kB / 386.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.1287, allocations: 40.83 kB / 386.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1289, allocations: 27.98 kB / 386.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1303, allocations: 1.519 MB / 388.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.1304, allocations: 11.97 kB / 388.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1304, allocations: 7.984 kB / 388.4 MB, free: 1.461 MB / 318.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.0001661/0.1306, allocations: 138 kB / 388.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1306, allocations: 15.91 kB / 388.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.1307, allocations: 21.53 kB / 388.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1307, allocations: 64 / 388.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1307, allocations: 4 kB / 388.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1307, allocations: 3.938 kB / 388.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.131, allocations: 249.5 kB / 388.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.131, allocations: 3.938 kB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.1313, allocations: 47.97 kB / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1313, allocations: 4 kB / 388.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1314, allocations: 7.984 kB / 388.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1314, allocations: 0 / 388.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1314, allocations: 3.938 kB / 388.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.132, allocations: 419.2 kB / 389.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.1321, allocations: 89.02 kB / 389.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1321, allocations: 4 kB / 389.4 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1322, allocations: 4 kB / 389.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.1323, allocations: 12.34 kB / 389.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1323, allocations: 8 kB / 389.5 MB, free: 364 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1324, allocations: 127.2 kB / 389.6 MB, free: 236 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 4 kB / 389.6 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001964/0.1344, allocations: 0.5154 MB / 390.1 MB, free: 15.71 MB / 334.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.001073/0.1355, allocations: 0.5502 MB / 390.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.1362, allocations: 385.9 kB / 391 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1362, allocations: 4 kB / 391 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1363, allocations: 91.88 kB / 391.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1367, allocations: 28.66 kB / 391.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.1374, allocations: 409.2 kB / 391.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1378, allocations: 0.7358 MB / 392.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1379, allocations: 33.14 kB / 392.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.138, allocations: 15.44 kB / 392.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.138, allocations: 0 / 392.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Templates: time 0.01673/0.1547, allocations: 7.903 MB / 400.2 MB, free: 5.473 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)