Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002802/0.002807, allocations: 368.6 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.037/4.037, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003521/0.003521, allocations: 231.5 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5731/0.5731, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006743/0.0006746, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1319, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001904/0.1339, allocations: 1.32 MB / 0.6814 GB, free: 40.33 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.135, allocations: 0.5352 MB / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.135, allocations: 0 / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.322e-05/0.1351, allocations: 3.938 kB / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.1352, allocations: 15.84 kB / 0.6819 GB, free: 39.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1355, allocations: 39.95 kB / 0.682 GB, free: 39.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1357, allocations: 91.7 kB / 0.682 GB, free: 39.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1358, allocations: 35.83 kB / 0.6821 GB, free: 39.61 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1359, allocations: 35.86 kB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1361, allocations: 31.78 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1361, allocations: 7.984 kB / 0.6822 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.1361, allocations: 4 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.1362, allocations: 15.92 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.1362, allocations: 37.7 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1364, allocations: 80 kB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1364, allocations: 4 kB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1364, allocations: 0 / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1364, allocations: 4 kB / 0.6823 GB, free: 39.39 MB / 346.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.0007/0.1371, allocations: 386.5 kB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1372, allocations: 8.828 kB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1372, allocations: 15.81 kB / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1374, allocations: 199 kB / 0.6829 GB, free: 38.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1375, allocations: 4 kB / 0.6829 GB, free: 38.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1375, allocations: 8 kB / 0.6829 GB, free: 38.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1378, allocations: 93.64 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1378, allocations: 3.906 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1378, allocations: 7.953 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1379, allocations: 0 / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.1381, allocations: 55.84 kB / 0.683 GB, free: 38.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1387, allocations: 376.6 kB / 0.6834 GB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1389, allocations: 62.48 kB / 0.6835 GB, free: 38.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.139, allocations: 32.98 kB / 0.6835 GB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1391, allocations: 0 / 0.6835 GB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.1393, allocations: 95.34 kB / 0.6836 GB, free: 37.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.053e-06/0.1393, allocations: 0 / 0.6836 GB, free: 37.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000461/0.1398, allocations: 137.5 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1398, allocations: 55.34 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.14, allocations: 138 kB / 0.6839 GB, free: 37.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.14, allocations: 29.7 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1401, allocations: 108.2 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1401, allocations: 19.62 kB / 0.684 GB, free: 37.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/0.1401, allocations: 11.94 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.1402, allocations: 322.8 kB / 0.6844 GB, free: 37.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1403, allocations: 23.98 kB / 0.6844 GB, free: 37.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1405, allocations: 83.7 kB / 0.6845 GB, free: 36.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1406, allocations: 47.94 kB / 0.6845 GB, free: 36.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1406, allocations: 3.953 kB / 0.6845 GB, free: 36.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003409/0.141, allocations: 141.4 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.141, allocations: 11.59 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.141, allocations: 3.984 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.141, allocations: 4 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.1412, allocations: 23.98 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1413, allocations: 7.938 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1414, allocations: 15.84 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1414, allocations: 8.219 kB / 0.6847 GB, free: 36.65 MB / 346.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.0001024/0.1415, allocations: 126.2 kB / 0.6848 GB, free: 36.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1416, allocations: 11.86 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1416, allocations: 12.72 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1416, allocations: 0 / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1416, allocations: 3.938 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1417, allocations: 92.94 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1417, allocations: 4 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1418, allocations: 8 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1419, allocations: 8.078 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004762/0.1424, allocations: 204.8 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004825/0.1429, allocations: 330.7 kB / 0.6855 GB, free: 35.81 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001224/0.143, allocations: 35.91 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.1431, allocations: 107.3 kB / 0.6856 GB, free: 35.67 MB / 346.7 MB Notification: Performance of Backend: time 8.62e-07/0.1431, allocations: 0 / 0.6856 GB, free: 35.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.1436, allocations: 126.4 kB / 0.6857 GB, free: 35.54 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006526/0.1443, allocations: 0.7199 MB / 0.6865 GB, free: 34.77 MB / 346.7 MB Notification: Performance of Templates: time 0.004193/0.1485, allocations: 0.9376 MB / 0.6874 GB, free: 33.84 MB / 346.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