Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007495/0.007495, allocations: 102.5 kB / 15.73 MB, free: 6.492 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.00159/0.001589, allocations: 192 kB / 16.67 MB, free: 6.379 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.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3875/0.3875, allocations: 39.95 MB / 309.8 MB, free: 9.465 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4313, allocations: 56.88 MB / 492.6 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003209/0.4345, allocations: 1.639 MB / 494.3 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.4356, allocations: 0.5882 MB / 494.9 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.4357, allocations: 2.281 kB / 494.9 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.4359, allocations: 10.03 kB / 494.9 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.436, allocations: 15.88 kB / 494.9 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.4363, allocations: 58.03 kB / 494.9 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.4365, allocations: 106 kB / 495.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.4366, allocations: 41.94 kB / 495.1 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.4367, allocations: 47.03 kB / 495.1 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.4369, allocations: 48 kB / 495.2 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.4369, allocations: 10.09 kB / 495.2 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.4369, allocations: 9.344 kB / 495.2 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.437, allocations: 20.06 kB / 495.2 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.4371, allocations: 43.38 kB / 495.3 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.4373, allocations: 107.7 kB / 495.4 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4373, allocations: 0 / 495.4 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4373, allocations: 5.156 kB / 495.4 MB, free: 17.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4373, allocations: 0 / 495.4 MB, free: 17.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007508/0.4381, allocations: 408.1 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4381, allocations: 13.17 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.4382, allocations: 11.73 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.4384, allocations: 213.2 kB / 496 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4385, allocations: 8.75 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.4385, allocations: 17.75 kB / 496 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.4387, allocations: 88.92 kB / 496.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4388, allocations: 0 / 496.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4388, allocations: 2.266 kB / 496.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4388, allocations: 1.281 kB / 496.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.439, allocations: 48.41 kB / 496.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.4395, allocations: 368.8 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.4397, allocations: 64.45 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.4398, allocations: 24.53 kB / 496.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4398, allocations: 5.984 kB / 496.6 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.44, allocations: 98.39 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.44, allocations: 1.062 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003556/0.4404, allocations: 128.2 kB / 496.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4405, allocations: 58.3 kB / 496.9 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4406, allocations: 142.3 kB / 497 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4406, allocations: 28.66 kB / 497.1 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.4407, allocations: 106.8 kB / 497.2 MB, free: 16.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.4407, allocations: 34.83 kB / 497.2 MB, free: 16.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.4407, allocations: 30.55 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.4408, allocations: 323.9 kB / 497.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.4409, allocations: 25.75 kB / 497.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.441, allocations: 86.33 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.4412, allocations: 122.1 kB / 497.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4412, allocations: 1.188 kB / 497.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000253/0.4415, allocations: 134.8 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4415, allocations: 5.125 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4415, allocations: 1.906 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4415, allocations: 9.016 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4416, allocations: 31.91 kB / 498 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.4417, allocations: 3.938 kB / 498 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.4417, allocations: 13.7 kB / 498 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4418, allocations: 5.875 kB / 498 MB, free: 15.68 MB / 382.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 8.638e-05/0.4418, allocations: 131.1 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.4419, allocations: 8.625 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.4419, allocations: 16.73 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4419, allocations: 5.375 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4419, allocations: 0 / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4419, allocations: 0.6562 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.4421, allocations: 209.5 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4421, allocations: 0 / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.4422, allocations: 12.05 kB / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4422, allocations: 0 / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4422, allocations: 6.906 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4422, allocations: 1.438 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4422, allocations: 0.7031 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.4426, allocations: 168.5 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.4426, allocations: 87.97 kB / 498.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.4426, allocations: 5.688 kB / 498.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.4427, allocations: 8.891 kB / 498.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.4428, allocations: 5.219 kB / 498.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4428, allocations: 7.688 kB / 498.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.511e-05/0.4429, allocations: 109.1 kB / 498.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.4429, allocations: 4.062 kB / 498.8 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.4431, allocations: 23.06 kB / 498.8 MB, free: 15 MB / 382.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,rootMeanSquare.mean.y) * 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.0001026/0.4432, allocations: 111.7 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4434, allocations: 74.23 kB / 499 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4434, allocations: 0 / 499 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.4435, allocations: 33.84 kB / 499 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.4437, allocations: 15.08 kB / 499 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.4442, allocations: 247.2 kB / 499.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.4444, allocations: 0.7003 MB / 500 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.4445, allocations: 12.45 kB / 500 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.4445, allocations: 18.36 kB / 500 MB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4445, allocations: 0 / 500 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Templates: time 0.003874/0.4484, allocations: 0.9406 MB / 0.4892 GB, free: 13.86 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)