Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.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.001173/0.001173, 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.001416/0.001416, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2445/0.2445, allocations: 46.94 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002452/0.002452, allocations: 83.86 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3905, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003218/0.3937, allocations: 1.695 MB / 0.5632 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3948, allocations: 0.6087 MB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3948, allocations: 0 / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3949, allocations: 19.8 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.395, allocations: 15.8 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3953, allocations: 63.81 kB / 0.5638 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3955, allocations: 115.7 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3956, allocations: 35.2 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3958, allocations: 51.84 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3959, allocations: 47.77 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3959, allocations: 12 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.396, allocations: 23.98 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.396, allocations: 27.86 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.3961, allocations: 51.72 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3963, allocations: 123.5 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3963, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3963, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3963, allocations: 4 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007437/0.397, allocations: 375.4 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3971, allocations: 12.03 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.3971, allocations: 34.75 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3973, allocations: 24.88 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3975, allocations: 154.8 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3976, allocations: 12.38 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.3976, allocations: 7.938 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3978, allocations: 93.64 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3978, allocations: 0 / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3978, allocations: 4 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3978, allocations: 4 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.398, allocations: 43.97 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.3986, allocations: 367.5 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.3987, allocations: 58.53 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.3988, allocations: 24.95 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3988, allocations: 7.938 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.3991, allocations: 99.41 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.747e-06/0.3991, allocations: 3.984 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003618/0.3994, allocations: 133.3 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3995, allocations: 51.41 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3996, allocations: 149.7 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3996, allocations: 33.7 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.3997, allocations: 108.2 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3997, allocations: 35.72 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.3998, allocations: 37.7 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4, allocations: 318.8 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.4, allocations: 27.98 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.4002, allocations: 79.72 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.4004, allocations: 123.6 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4004, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002649/0.4006, allocations: 137.4 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4006, allocations: 8 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4006, allocations: 8.219 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4007, allocations: 0 / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4008, allocations: 31.92 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4008, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.4009, allocations: 15.94 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4009, allocations: 4 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001252/0.401, allocations: 129.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.401, allocations: 15.89 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.4011, allocations: 20.7 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4011, allocations: 0 / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4011, allocations: 0 / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4011, allocations: 0 / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.4013, allocations: 172.7 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4013, allocations: 4 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/0.4014, allocations: 19.92 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.4014, allocations: 4 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4014, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4014, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4014, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.4017, allocations: 181.2 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.4018, allocations: 11.92 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.4018, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.4019, allocations: 11.98 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4019, allocations: 7.984 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4019, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.853e-05/0.402, allocations: 118.3 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.402, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.4022, allocations: 23.94 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006999/0.4029, allocations: 0.7099 MB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4032, allocations: 79.89 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4032, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.4033, allocations: 31.98 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.4035, allocations: 13.14 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.4057, allocations: 1.708 MB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4062, allocations: 0.7086 MB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.571e-05/0.4062, allocations: 12.36 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.4063, allocations: 35.42 kB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4063, allocations: 0 / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.4337, allocations: 2.513 MB / 0.5732 GB, free: 7.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.637, allocations: 16.2 kB / 0.5732 GB, free: 7.879 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0003996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.771246615797281] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean1.x', 'rootMeanSquare.mean.x', 'mean1.y', 'rootMeanSquare.mean.y'] 8.707334026228637 8.731806104 8.3307193 Calling exit ...