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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 105.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3479/0.3479, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1061, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003218/0.1094, allocations: 1.708 MB / 488.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1104, allocations: 0.5774 MB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1106, allocations: 0 / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1107, allocations: 7.922 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.1108, allocations: 15.88 kB / 489.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1111, allocations: 47.89 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1113, allocations: 99.75 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1114, allocations: 35.91 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1115, allocations: 39.8 kB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1117, allocations: 43.77 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1117, allocations: 8 kB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.1117, allocations: 4 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.1118, allocations: 23.91 kB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.1118, allocations: 47.72 kB / 489.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.112, allocations: 91.97 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.112, allocations: 0 / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.112, allocations: 0 / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.112, allocations: 4 kB / 489.7 MB, free: 9.785 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007044/0.1127, allocations: 415 kB / 490.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1128, allocations: 12.03 kB / 490.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1128, allocations: 8.844 kB / 490.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1131, allocations: 204.1 kB / 490.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1131, allocations: 4.375 kB / 490.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1131, allocations: 16.28 kB / 490.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1134, allocations: 93.95 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1134, allocations: 0 / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1134, allocations: 4 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1134, allocations: 4 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1136, allocations: 51.91 kB / 490.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.1142, allocations: 368.6 kB / 490.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1143, allocations: 58.53 kB / 491 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.1144, allocations: 28.95 kB / 491 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1145, allocations: 0 / 491 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.1147, allocations: 95.34 kB / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1147, allocations: 0 / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003351/0.115, allocations: 129.8 kB / 491.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1151, allocations: 55.41 kB / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1152, allocations: 141.7 kB / 491.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1152, allocations: 29.8 kB / 491.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.1153, allocations: 108.2 kB / 491.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1153, allocations: 27.62 kB / 491.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.1154, allocations: 37.7 kB / 491.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1155, allocations: 318.8 kB / 491.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.1156, allocations: 23.98 kB / 491.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.1157, allocations: 91.64 kB / 492 MB, free: 7.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1159, allocations: 119.6 kB / 492.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1159, allocations: 0 / 492.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002531/0.1161, allocations: 145.3 kB / 492.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1162, allocations: 4 kB / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1162, allocations: 4 kB / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1162, allocations: 4.219 kB / 492.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1163, allocations: 31.86 kB / 492.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1163, allocations: 7.938 kB / 492.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.1164, allocations: 11.91 kB / 492.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1164, allocations: 8 kB / 492.4 MB, free: 6.898 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,$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 0.0001051/0.1165, allocations: 129.8 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1166, allocations: 11.91 kB / 492.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.1166, allocations: 8.719 kB / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1166, allocations: 4 kB / 492.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1166, allocations: 7.938 kB / 492.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1166, allocations: 0 / 492.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1168, allocations: 205.5 kB / 492.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1168, allocations: 0 / 492.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.1169, allocations: 11.98 kB / 492.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.1169, allocations: 0 / 492.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1169, allocations: 4 kB / 492.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1169, allocations: 4 kB / 492.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1169, allocations: 3.938 kB / 492.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1182, allocations: 1.126 MB / 493.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.1182, allocations: 96.98 kB / 494 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1183, allocations: 8.016 kB / 494 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.1183, allocations: 7.938 kB / 494 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1184, allocations: 7.984 kB / 494 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1184, allocations: 4 kB / 494 MB, free: 5.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.1185, allocations: 106.5 kB / 494.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1185, allocations: 0 / 494.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.1188, allocations: 24 kB / 494.1 MB, free: 4.922 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,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.0001038/0.1189, allocations: 107.3 kB / 494.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1191, allocations: 79.84 kB / 494.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1191, allocations: 0 / 494.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.1192, allocations: 31.92 kB / 494.3 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.1194, allocations: 11.98 kB / 494.3 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.12, allocations: 413.8 kB / 494.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1202, allocations: 0.7043 MB / 495.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.092e-05/0.1203, allocations: 12.55 kB / 495.5 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1203, allocations: 15.44 kB / 495.5 MB, free: 3.492 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1203, allocations: 3.938 kB / 495.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of Templates: time 0.003278/0.1236, allocations: 0.9038 MB / 496.4 MB, free: 2.59 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches