Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 104.9 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3567/0.3567, allocations: 44.12 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 47.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3879, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004056/0.3921, allocations: 1.713 MB / 0.5081 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3932, allocations: 0.5338 MB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3933, allocations: 2.094 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3934, allocations: 7.266 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.3936, allocations: 14.23 kB / 0.5086 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3938, allocations: 48.83 kB / 0.5086 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.394, allocations: 107.1 kB / 0.5087 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3941, allocations: 36.48 kB / 0.5088 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.3942, allocations: 40.61 kB / 0.5088 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3944, allocations: 54.03 kB / 0.5089 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3944, allocations: 9.906 kB / 0.5089 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.3944, allocations: 3 kB / 0.5089 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.3945, allocations: 17.2 kB / 0.5089 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.3945, allocations: 38.55 kB / 0.5089 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3947, allocations: 105.3 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3947, allocations: 0 / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3947, allocations: 0 / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3947, allocations: 4 kB / 0.509 GB, free: 36.46 MB / 378.7 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.0006883/0.3954, allocations: 415.8 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3955, allocations: 8.156 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.3955, allocations: 14 kB / 0.5095 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.3958, allocations: 209.4 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3958, allocations: 10.39 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.3958, allocations: 9.062 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.3961, allocations: 95.97 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.3961, allocations: 0 / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.3962, allocations: 10.12 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3962, allocations: 0 / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.3963, allocations: 50.86 kB / 0.5098 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3969, allocations: 379.3 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3971, allocations: 61.91 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.3971, allocations: 23.72 kB / 0.5103 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3972, allocations: 10.98 kB / 0.5103 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3974, allocations: 93.39 kB / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3974, allocations: 0 / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000311/0.3977, allocations: 128.1 kB / 0.5105 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3977, allocations: 61.98 kB / 0.5106 GB, free: 35.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.3978, allocations: 134.2 kB / 0.5107 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3979, allocations: 30.08 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.3979, allocations: 108.7 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3979, allocations: 29.86 kB / 0.5108 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.398, allocations: 36.08 kB / 0.5109 GB, free: 34.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.3981, allocations: 324.7 kB / 0.5112 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.3981, allocations: 25.47 kB / 0.5112 GB, free: 34.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.3982, allocations: 86.7 kB / 0.5113 GB, free: 34.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3984, allocations: 123.8 kB / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3984, allocations: 3.031 kB / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002041/0.3986, allocations: 140.2 kB / 0.5115 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3986, allocations: 7.812 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3986, allocations: 7.156 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3986, allocations: 2.812 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3988, allocations: 32.45 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3988, allocations: 2.938 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.3989, allocations: 21.05 kB / 0.5116 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3989, allocations: 5.688 kB / 0.5116 GB, free: 34.26 MB / 378.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 (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 7.935e-05/0.399, allocations: 122.3 kB / 0.5117 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.399, allocations: 6.781 kB / 0.5117 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.399, allocations: 22.88 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.399, allocations: 6.812 kB / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.399, allocations: 0 / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3991, allocations: 0 / 0.5118 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3992, allocations: 205.9 kB / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3992, allocations: 0 / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.3993, allocations: 11.8 kB / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3993, allocations: 0 / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3993, allocations: 2.781 kB / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3993, allocations: 3.938 kB / 0.512 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3993, allocations: 0 / 0.512 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4003, allocations: 1.142 MB / 0.5131 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.4004, allocations: 91.19 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4004, allocations: 2.688 kB / 0.5132 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.4005, allocations: 8 kB / 0.5132 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4005, allocations: 9.188 kB / 0.5132 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4005, allocations: 6.375 kB / 0.5132 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.4006, allocations: 108.8 kB / 0.5133 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4006, allocations: 0 / 0.5133 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000275/0.4009, allocations: 23.72 kB / 0.5133 GB, free: 32.65 MB / 378.7 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 9.158e-05/0.401, allocations: 101.1 kB / 0.5134 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4012, allocations: 78.61 kB / 0.5135 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4012, allocations: 0 / 0.5135 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.4013, allocations: 35.38 kB / 0.5135 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.4015, allocations: 16.58 kB / 0.5136 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.402, allocations: 412.5 kB / 0.514 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4022, allocations: 0.7074 MB / 0.5146 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.839e-05/0.4022, allocations: 9.641 kB / 0.5147 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.4023, allocations: 13.28 kB / 0.5147 GB, free: 31.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.4023, allocations: 0 / 0.5147 GB, free: 31.47 MB / 378.7 MB Notification: Performance of Templates: time 0.003073/0.4053, allocations: 0.9164 MB / 0.5156 GB, free: 31.37 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches