Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003727/0.003732, allocations: 352.1 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.506/3.506, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00351/0.00351, allocations: 228.4 kB / 397.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5412/0.5412, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002461/0.1405, allocations: 1.314 MB / 0.608 GB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1419, allocations: 0.5225 MB / 0.6085 GB, free: 2.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1421, allocations: 0 / 0.6085 GB, free: 2.793 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.981e-05/0.1422, allocations: 7.938 kB / 0.6085 GB, free: 2.785 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.1423, allocations: 15.86 kB / 0.6085 GB, free: 2.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1427, allocations: 39.89 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1429, allocations: 91.7 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1431, allocations: 31.92 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1433, allocations: 31.86 kB / 0.6087 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1434, allocations: 39.77 kB / 0.6088 GB, free: 2.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.1435, allocations: 8 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.1435, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.1436, allocations: 15.92 kB / 0.6088 GB, free: 2.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.1436, allocations: 41.7 kB / 0.6088 GB, free: 2.469 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1438, allocations: 76.06 kB / 0.6089 GB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1438, allocations: 3.938 kB / 0.6089 GB, free: 2.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1438, allocations: 3.938 kB / 0.6089 GB, free: 2.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1439, allocations: 0 / 0.6089 GB, free: 2.387 MB / 362.7 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.0008894/0.1448, allocations: 398.9 kB / 0.6093 GB, free: 1.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1448, allocations: 8.031 kB / 0.6093 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.1449, allocations: 11.81 kB / 0.6093 GB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1452, allocations: 199 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.1452, allocations: 0 / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1453, allocations: 12 kB / 0.6095 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1457, allocations: 97.59 kB / 0.6096 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1457, allocations: 4 kB / 0.6096 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1457, allocations: 4 kB / 0.6096 GB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1458, allocations: 4 kB / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.1461, allocations: 51.91 kB / 0.6097 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.1469, allocations: 372.5 kB / 0.61 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1472, allocations: 66.48 kB / 0.6101 GB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1474, allocations: 32.97 kB / 0.6101 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1474, allocations: 4 kB / 0.6101 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/0.1478, allocations: 103.3 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 4.558e-06/0.1478, allocations: 0 / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006381/0.1484, allocations: 125.5 kB / 0.6103 GB, free: 0.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1485, allocations: 63.34 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1487, allocations: 146.1 kB / 0.6105 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1487, allocations: 25.7 kB / 0.6106 GB, free: 500 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1488, allocations: 108.2 kB / 0.6107 GB, free: 384 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.1489, allocations: 27.61 kB / 0.6107 GB, free: 356 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.1489, allocations: 4 kB / 0.6107 GB, free: 352 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.149, allocations: 322.8 kB / 0.611 GB, free: 20 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2736/0.4226, allocations: 31.03 kB / 0.611 GB, free: 90.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.4229, allocations: 88.8 kB / 0.6111 GB, free: 90.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.4231, allocations: 40.53 kB / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4231, allocations: 3.812 kB / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005142/0.4236, allocations: 137.4 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.4237, allocations: 6.062 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4237, allocations: 2.062 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.4238, allocations: 3 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.4241, allocations: 31.3 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.4241, allocations: 3.547 kB / 0.6113 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.4244, allocations: 13.22 kB / 0.6114 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4244, allocations: 6.531 kB / 0.6114 GB, free: 90.32 MB / 362.7 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 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.4247, allocations: 131.3 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.4247, allocations: 8.531 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.4248, allocations: 15.2 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4248, allocations: 8.344 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4249, allocations: 4.453 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.425, allocations: 91.56 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.4251, allocations: 2.203 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4253, allocations: 6.312 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.4253, allocations: 8.625 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008196/0.4262, allocations: 195.5 kB / 0.6118 GB, free: 90.01 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008888/0.4271, allocations: 329.5 kB / 0.6121 GB, free: 89.81 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002462/0.4274, allocations: 37.36 kB / 0.6122 GB, free: 89.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.4276, allocations: 108 kB / 0.6123 GB, free: 89.73 MB / 362.7 MB Notification: Performance of Backend: time 1.292e-06/0.4276, allocations: 0 / 0.6123 GB, free: 89.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.4288, allocations: 130 kB / 0.6124 GB, free: 89.67 MB / 362.7 MB Notification: Performance of SimCode: time 0.001003/0.4298, allocations: 0.7213 MB / 0.6131 GB, free: 89.02 MB / 362.7 MB Notification: Performance of Templates: time 0.007841/0.4377, allocations: 0.9477 MB / 0.614 GB, free: 89.02 MB / 362.7 MB "" Variables in the reference:time,mean1.x,rootMeanSquare.mean.x,mean1.y,rootMeanSquare.mean.y Variables in the result:expSine.amplitude,expSine.damping,expSine.freqHz,expSine.offset,expSine.phase,expSine.startTime,mean1.f,mean1.t0,mean1.x,mean1.x0,mean1.y,mean1.yGreaterOrEqualZero,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.t0,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.significantDigits,rootMeanSquare.x0,time