Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") 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.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 108.2 kB / 17.03 MB, free: 5.664 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.001593/0.001593, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.38/1.38, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2021/0.2021, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 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: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 70.53 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08907, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002669/0.09179, allocations: 1.656 MB / 443.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.09264, allocations: 0.5619 MB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.09275, allocations: 3.938 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.09287, allocations: 11.86 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.09294, allocations: 15.88 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.09321, allocations: 55.81 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.09336, allocations: 111.7 kB / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.09351, allocations: 31.97 kB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.09361, allocations: 47.83 kB / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.09372, allocations: 47.72 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.09375, allocations: 16 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.09378, allocations: 8 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.09382, allocations: 19.92 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.09388, allocations: 51.72 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.09402, allocations: 103.6 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09403, allocations: 0 / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09404, allocations: 0 / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.09405, allocations: 0 / 444.7 MB, free: 3.395 MB / 318.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.0006546/0.09471, allocations: 423 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.09475, allocations: 11.89 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.09479, allocations: 12.84 kB / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.095, allocations: 205.3 kB / 445.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.09502, allocations: 8.375 kB / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.09505, allocations: 4.375 kB / 445.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.09525, allocations: 93.95 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.09527, allocations: 0 / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.0953, allocations: 8 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09531, allocations: 0 / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.09543, allocations: 43.97 kB / 445.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.09591, allocations: 376.5 kB / 445.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.09604, allocations: 54.5 kB / 445.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.09611, allocations: 32.98 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.09614, allocations: 0 / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.0963, allocations: 95.34 kB / 446 MB, free: 1.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.09631, allocations: 4 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003023/0.09662, allocations: 129.5 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.09666, allocations: 55.41 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.09675, allocations: 142.8 kB / 446.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.09677, allocations: 25.7 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.09682, allocations: 108.3 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.09685, allocations: 31.55 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.0969, allocations: 34.02 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.09695, allocations: 322.8 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.09702, allocations: 27.98 kB / 446.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.0971, allocations: 83.64 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.09725, allocations: 119.6 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.09726, allocations: 4 kB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000208/0.09747, allocations: 145.3 kB / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.0975, allocations: 10.97 kB / 447.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.09751, allocations: 0 / 447.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.09753, allocations: 4 kB / 447.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.09765, allocations: 31.92 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.09767, allocations: 3.938 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.09775, allocations: 11.91 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.09776, allocations: 4.219 kB / 447.3 MB, free: 0.5078 MB / 318.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 7.439e-05/0.09784, allocations: 141.6 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.09787, allocations: 7.906 kB / 447.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.09791, allocations: 12.72 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.09791, allocations: 0 / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.09792, allocations: 3.938 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.09793, allocations: 0 / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.09805, allocations: 201.6 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.09805, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.09816, allocations: 15.98 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.09817, allocations: 4 kB / 447.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.09818, allocations: 0 / 447.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.09819, allocations: 0 / 447.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.0982, allocations: 3.938 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.09855, allocations: 169 kB / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.09861, allocations: 85.05 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.09865, allocations: 8.047 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.09872, allocations: 8 kB / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.09879, allocations: 15.92 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.0988, allocations: 0 / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.09889, allocations: 107.2 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09889, allocations: 0 / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.09914, allocations: 20 kB / 448.1 MB, free: 15.62 MB / 334.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.0001236/0.09927, allocations: 111.2 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.09951, allocations: 71.91 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.09952, allocations: 3.938 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.09961, allocations: 31.98 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.09984, allocations: 15.81 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.1004, allocations: 253.7 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1006, allocations: 0.7002 MB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.1007, allocations: 12.55 kB / 449.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.1007, allocations: 15.44 kB / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1008, allocations: 0 / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Templates: time 0.003201/0.104, allocations: 0.91 MB / 450.2 MB, free: 13.45 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches