Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00146/0.00146, allocations: 101.3 kB / 17.06 MB, free: 6.117 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.001297/0.001297, allocations: 200.1 kB / 18 MB, free: 5.195 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.79/1.79, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001233/0.001233, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 46.61 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003357/0.1144, allocations: 1.605 MB / 376.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2602/0.3746, allocations: 3.203 MB / 379.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.3748, allocations: 5.719 kB / 379.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.3752, allocations: 51.72 kB / 379.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.3e-05/0.3753, allocations: 15.34 kB / 379.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.3794, allocations: 1.423 MB / 380.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.3797, allocations: 140.6 kB / 380.9 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3799, allocations: 26.34 kB / 380.9 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.363e-05/0.38, allocations: 58.55 kB / 381 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3801, allocations: 50.02 kB / 381 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.3801, allocations: 11.84 kB / 381 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.3825, allocations: 1.378 MB / 382.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3826, allocations: 39.89 kB / 382.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.3827, allocations: 50.58 kB / 382.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3843, allocations: 1.202 MB / 383.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3843, allocations: 3.688 kB / 383.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3843, allocations: 0 / 383.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3844, allocations: 0 / 383.7 MB, free: 9.602 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.00118/0.3855, allocations: 0.5609 MB / 384.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3856, allocations: 13.98 kB / 384.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.3857, allocations: 15.12 kB / 384.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3859, allocations: 215.3 kB / 384.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3859, allocations: 4.875 kB / 384.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.386, allocations: 14.69 kB / 384.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.3863, allocations: 125.4 kB / 384.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3863, allocations: 4.094 kB / 384.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3863, allocations: 8.484 kB / 384.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3863, allocations: 1.312 kB / 384.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.3865, allocations: 55.61 kB / 384.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.3871, allocations: 381 kB / 385.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.3874, allocations: 135.1 kB / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.3875, allocations: 44.3 kB / 385.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.3876, allocations: 1.125 kB / 385.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3876, allocations: 32.27 kB / 385.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3876, allocations: 0 / 385.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002176/0.3898, allocations: 1.221 MB / 386.5 MB, free: 7.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3899, allocations: 135.2 kB / 386.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.39, allocations: 171.5 kB / 386.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.39, allocations: 31.33 kB / 386.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.3901, allocations: 107.9 kB / 387 MB, free: 7.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3901, allocations: 56.12 kB / 387 MB, free: 7.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.3902, allocations: 44.05 kB / 387.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.3903, allocations: 327.6 kB / 387.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3905, allocations: 97.66 kB / 387.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.3907, allocations: 139.8 kB / 387.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.391, allocations: 196.3 kB / 387.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.391, allocations: 1.25 kB / 387.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005246/0.3915, allocations: 314.6 kB / 388.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3916, allocations: 9.156 kB / 388.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.3916, allocations: 6.656 kB / 388.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.3918, allocations: 38.59 kB / 388.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.392, allocations: 33.92 kB / 388.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.393, allocations: 1.522 MB / 389.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.3931, allocations: 10.67 kB / 389.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3931, allocations: 7.312 kB / 389.7 MB, free: 5.066 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.0001065/0.3932, allocations: 142.7 kB / 389.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3933, allocations: 14.28 kB / 389.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.3933, allocations: 23.64 kB / 389.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3934, allocations: 1.312 kB / 389.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3934, allocations: 0 / 389.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3934, allocations: 2.484 kB / 389.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.3936, allocations: 245.5 kB / 390.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3936, allocations: 0 / 390.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.3939, allocations: 56.34 kB / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3939, allocations: 1.344 kB / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3939, allocations: 6.875 kB / 390.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3939, allocations: 0 / 390.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3939, allocations: 2.531 kB / 390.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.3944, allocations: 420.5 kB / 390.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.3945, allocations: 84.95 kB / 390.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3945, allocations: 1.531 kB / 390.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3946, allocations: 11.69 kB / 390.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3946, allocations: 11.56 kB / 390.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3947, allocations: 2.938 kB / 390.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.3947, allocations: 134.3 kB / 390.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3948, allocations: 1.219 kB / 390.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002906/0.3977, allocations: 0.5155 MB / 391.4 MB, free: 4.223 MB / 318.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.001845/0.3995, allocations: 0.5485 MB / 391.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007766/0.4003, allocations: 404.8 kB / 392.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4003, allocations: 0 / 392.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.4005, allocations: 89.92 kB / 392.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4009, allocations: 31.22 kB / 392.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.4016, allocations: 396.7 kB / 392.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.4018, allocations: 0.7301 MB / 393.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.4019, allocations: 29.83 kB / 393.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.402, allocations: 15.12 kB / 393.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.402, allocations: 0 / 393.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Templates: time 0.024/0.426, allocations: 7.912 MB / 401.5 MB, free: 92 kB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)