Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001926/0.001926, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001912/0.001912, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.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-beta.om/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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 68.75 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3436, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003386/0.347, allocations: 1.639 MB / 433.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.3529, allocations: 3.257 MB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.3531, allocations: 3.938 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.3535, allocations: 59.69 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.984e-05/0.3536, allocations: 11.81 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.358, allocations: 1.478 MB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.3583, allocations: 147.6 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3585, allocations: 17.31 kB / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.3586, allocations: 63.75 kB / 438.6 MB, free: 184 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3587, allocations: 47.78 kB / 438.6 MB, free: 136 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3587, allocations: 8 kB / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.3612, allocations: 1.456 MB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3613, allocations: 31.86 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.3614, allocations: 55.66 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3631, allocations: 1.212 MB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3631, allocations: 4 kB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3631, allocations: 0 / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3631, allocations: 0 / 441.4 MB, free: 13.37 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001316/0.3644, allocations: 0.4935 MB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.3645, allocations: 12.03 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.3645, allocations: 42.73 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3646, allocations: 16.84 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3649, allocations: 155.1 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.3649, allocations: 4.375 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3649, allocations: 20.11 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.3652, allocations: 129 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3652, allocations: 0 / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3653, allocations: 4 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3653, allocations: 7.938 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3654, allocations: 59.89 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.3661, allocations: 351.6 kB / 442.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.3665, allocations: 122.6 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.3666, allocations: 40.83 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3666, allocations: 192 / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3667, allocations: 42.5 kB / 442.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.3667, allocations: 0 / 442.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002397/0.3691, allocations: 0.9963 MB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.3692, allocations: 128.5 kB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3694, allocations: 178.2 kB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3694, allocations: 29.7 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.3695, allocations: 112.5 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.3696, allocations: 47.59 kB / 444.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.3697, allocations: 45.7 kB / 444.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3698, allocations: 330.8 kB / 444.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.37, allocations: 91.95 kB / 444.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.3702, allocations: 143.2 kB / 444.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.3706, allocations: 204.7 kB / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3706, allocations: 0 / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006336/0.3712, allocations: 306.4 kB / 445.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3712, allocations: 8 kB / 445.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.3713, allocations: 3.984 kB / 445.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.3715, allocations: 44.83 kB / 445.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3717, allocations: 39.91 kB / 445.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.3732, allocations: 1.416 MB / 447 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3733, allocations: 12.02 kB / 447 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3733, allocations: 5.219 kB / 447 MB, free: 7.352 MB / 350.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.0001683/0.3735, allocations: 141.9 kB / 447.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.3736, allocations: 15.91 kB / 447.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.112e-05/0.3736, allocations: 21.47 kB / 447.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3736, allocations: 0 / 447.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3736, allocations: 3.938 kB / 447.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3736, allocations: 0 / 447.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.3739, allocations: 220.6 kB / 447.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3739, allocations: 0 / 447.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.3742, allocations: 55.91 kB / 447.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3742, allocations: 4 kB / 447.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3742, allocations: 3.984 kB / 447.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3742, allocations: 0 / 447.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3742, allocations: 11.88 kB / 447.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.3749, allocations: 410.2 kB / 447.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.3749, allocations: 11.91 kB / 447.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3749, allocations: 4 kB / 447.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.375, allocations: 12 kB / 447.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.3751, allocations: 11.91 kB / 447.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3751, allocations: 4 kB / 447.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3752, allocations: 132.2 kB / 448 MB, free: 6.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3752, allocations: 0 / 448 MB, free: 6.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001762/0.377, allocations: 0.5077 MB / 448.5 MB, free: 5.738 MB / 350.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.002168/0.3792, allocations: 1.376 MB / 449.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008674/0.38, allocations: 373.9 kB / 450.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.38, allocations: 0 / 450.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3802, allocations: 87.83 kB / 450.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3806, allocations: 38.59 kB / 450.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.3845, allocations: 2.453 MB / 452.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.3849, allocations: 0.7357 MB / 453.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.385, allocations: 37.06 kB / 453.6 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.3851, allocations: 43.42 kB / 453.7 MB, free: 448 kB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3851, allocations: 0 / 453.7 MB, free: 448 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/0.437, allocations: 9.963 MB / 463.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.52, allocations: 6.281 kB / 463.6 MB, free: 6.586 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.076679182238877] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]'] 11.614178588613868 11.636949032 11.268930739 Calling exit ...