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.001177/0.001177, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001347/0.001347, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.278/1.278, allocations: 230.2 MB / 256.1 MB, free: 8.59 MB / 206.1 MB " [Timeout remaining time 179] 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.2027/0.2027, allocations: 46.89 MB / 359.3 MB, free: 4.953 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.002077/0.002077, allocations: 87.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2576, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002771/0.2604, allocations: 1.7 MB / 0.5601 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.2613, allocations: 0.5971 MB / 0.5607 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.2614, allocations: 4 kB / 0.5607 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.2615, allocations: 15.8 kB / 0.5607 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.2615, allocations: 15.8 kB / 0.5607 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.2618, allocations: 75.8 kB / 0.5608 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.262, allocations: 111.6 kB / 0.5609 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2621, allocations: 26.94 kB / 0.5609 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2622, allocations: 59.77 kB / 0.5609 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2623, allocations: 43.78 kB / 0.561 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2623, allocations: 12 kB / 0.561 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.2624, allocations: 23.97 kB / 0.561 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.2625, allocations: 27.92 kB / 0.561 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.2625, allocations: 47.73 kB / 0.5611 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2627, allocations: 131.5 kB / 0.5612 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2627, allocations: 0 / 0.5612 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2627, allocations: 0 / 0.5612 GB, free: 2.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.2627, allocations: 0 / 0.5612 GB, free: 2.301 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.0006718/0.2634, allocations: 429.2 kB / 0.5616 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2634, allocations: 11.97 kB / 0.5616 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.2635, allocations: 38.75 kB / 0.5617 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2637, allocations: 28.88 kB / 0.5617 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2639, allocations: 208.8 kB / 0.5619 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2639, allocations: 4.375 kB / 0.5619 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.2639, allocations: 15.94 kB / 0.5619 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.2641, allocations: 89.64 kB / 0.562 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2641, allocations: 4 kB / 0.562 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2642, allocations: 3.938 kB / 0.562 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2642, allocations: 0 / 0.562 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.2643, allocations: 51.97 kB / 0.5621 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.2648, allocations: 396.5 kB / 0.5624 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.265, allocations: 54.55 kB / 0.5625 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.265, allocations: 24.98 kB / 0.5625 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2651, allocations: 7.938 kB / 0.5625 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2652, allocations: 103.2 kB / 0.5626 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2652, allocations: 0 / 0.5626 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000325/0.2656, allocations: 133.5 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2656, allocations: 51.41 kB / 0.5628 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2657, allocations: 149.8 kB / 0.5629 GB, free: 340 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2658, allocations: 29.7 kB / 0.563 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.2658, allocations: 112.1 kB / 0.5631 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.2659, allocations: 23.84 kB / 0.5631 GB, free: 164 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.2659, allocations: 25.72 kB / 0.5631 GB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2661, allocations: 322.8 kB / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.2661, allocations: 31.92 kB / 0.5635 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2662, allocations: 90.52 kB / 0.5636 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.2664, allocations: 119.6 kB / 0.5637 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2664, allocations: 0 / 0.5637 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002557/0.2667, allocations: 153.5 kB / 0.5638 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2667, allocations: 8 kB / 0.5638 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2667, allocations: 3.938 kB / 0.5638 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2667, allocations: 4 kB / 0.5638 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2668, allocations: 19.98 kB / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2668, allocations: 4 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.2669, allocations: 11.95 kB / 0.5639 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2669, allocations: 8 kB / 0.5639 GB, free: 15.3 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.000111/0.267, allocations: 137.8 kB / 0.564 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.267, allocations: 11.89 kB / 0.564 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.2671, allocations: 12.72 kB / 0.564 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2671, allocations: 0 / 0.564 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2671, allocations: 384 / 0.564 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2671, allocations: 3.984 kB / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.2673, allocations: 209.6 kB / 0.5642 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2673, allocations: 0 / 0.5642 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.2674, allocations: 15.88 kB / 0.5642 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2674, allocations: 4 kB / 0.5642 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2674, allocations: 7.984 kB / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2674, allocations: 7.938 kB / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2674, allocations: 0 / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.2677, allocations: 172.9 kB / 0.5644 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.2678, allocations: 85 kB / 0.5645 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2678, allocations: 8.031 kB / 0.5645 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.2678, allocations: 0 / 0.5645 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2679, allocations: 12.05 kB / 0.5645 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2679, allocations: 4 kB / 0.5645 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.268, allocations: 118.6 kB / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.268, allocations: 0 / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.2682, allocations: 20 kB / 0.5647 GB, free: 14.39 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.0005869/0.2688, allocations: 0.7021 MB / 0.5653 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.269, allocations: 75.84 kB / 0.5654 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.269, allocations: 0 / 0.5654 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.269, allocations: 36.05 kB / 0.5655 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.2692, allocations: 15.97 kB / 0.5655 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.271, allocations: 1.705 MB / 0.5671 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2713, allocations: 0.708 MB / 0.5678 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.131e-05/0.2714, allocations: 12.41 kB / 0.5678 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.2714, allocations: 35.42 kB / 0.5679 GB, free: 10.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2714, allocations: 0 / 0.5679 GB, free: 10.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2948, allocations: 2.465 MB / 0.5703 GB, free: 8.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.311, allocations: 3.438 kB / 0.5703 GB, free: 8.52 MB / 414.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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: 9.75445202398987]