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.001332/0.001332, allocations: 113.8 kB / 17.08 MB, free: 5.965 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.001441/0.001442, allocations: 194.5 kB / 18.01 MB, free: 5.051 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.331/1.331, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1986/0.1986, allocations: 43.52 MB / 314.8 MB, free: 448 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.001541/0.001541, allocations: 69.61 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1103, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003341/0.1136, allocations: 1.658 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1148, allocations: 0.5736 MB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.1149, allocations: 3.938 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.115, allocations: 3.938 kB / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.115, allocations: 27.72 kB / 0.4907 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1154, allocations: 55.81 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1156, allocations: 103.8 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1158, allocations: 43.89 kB / 0.4909 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1159, allocations: 39.86 kB / 0.491 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.116, allocations: 51.7 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.116, allocations: 12 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.1161, allocations: 8 kB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.1161, allocations: 27.91 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.1162, allocations: 47.73 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1164, allocations: 95.67 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1164, allocations: 0 / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1164, allocations: 0 / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1164, allocations: 0 / 0.4912 GB, free: 9.051 MB / 382.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.0007436/0.1172, allocations: 415 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1172, allocations: 11.89 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.1173, allocations: 12.84 kB / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1175, allocations: 212 kB / 0.4918 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1175, allocations: 12.36 kB / 0.4918 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1175, allocations: 8.375 kB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1178, allocations: 97.95 kB / 0.4919 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1178, allocations: 0 / 0.4919 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1178, allocations: 4 kB / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1179, allocations: 0 / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.118, allocations: 47.97 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.1186, allocations: 364.5 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1187, allocations: 62.55 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.1188, allocations: 28.92 kB / 0.4924 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1188, allocations: 0 / 0.4924 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.119, allocations: 99.33 kB / 0.4925 GB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.1191, allocations: 8 kB / 0.4925 GB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003491/0.1194, allocations: 125.5 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1195, allocations: 51.41 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1196, allocations: 148.2 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1196, allocations: 37.64 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1197, allocations: 100.3 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1197, allocations: 31.55 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.1198, allocations: 33.7 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1199, allocations: 322.8 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.12, allocations: 27.92 kB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1201, allocations: 79.72 kB / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1203, allocations: 127.6 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1203, allocations: 4 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002599/0.1206, allocations: 133.4 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1206, allocations: 8 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1206, allocations: 0 / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1207, allocations: 4 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1208, allocations: 27.92 kB / 0.4937 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1208, allocations: 12.14 kB / 0.4937 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.1209, allocations: 11.91 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1209, allocations: 12.08 kB / 0.4938 GB, free: 6.148 MB / 382.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 0.0001111/0.121, allocations: 129.7 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1211, allocations: 8.281 kB / 0.4939 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.1211, allocations: 20.7 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1211, allocations: 3.938 kB / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1211, allocations: 3.938 kB / 0.4939 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1211, allocations: 7.938 kB / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1213, allocations: 201.6 kB / 0.4941 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1213, allocations: 4 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1214, allocations: 8 kB / 0.4941 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1215, allocations: 4 kB / 0.4941 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1215, allocations: 3.984 kB / 0.4941 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1215, allocations: 0 / 0.4941 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1215, allocations: 3.938 kB / 0.4941 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1218, allocations: 168.9 kB / 0.4943 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1219, allocations: 85.05 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1219, allocations: 4 kB / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.122, allocations: 7.984 kB / 0.4944 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.122, allocations: 11.88 kB / 0.4944 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1221, allocations: 3.984 kB / 0.4944 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.1221, allocations: 108 kB / 0.4945 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1221, allocations: 0 / 0.4945 GB, free: 5.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1224, allocations: 20.06 kB / 0.4945 GB, free: 5.258 MB / 382.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.0001112/0.1225, allocations: 111.1 kB / 0.4946 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1227, allocations: 71.89 kB / 0.4947 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1227, allocations: 0 / 0.4947 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.1228, allocations: 35.92 kB / 0.4947 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.123, allocations: 12.42 kB / 0.4948 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.1236, allocations: 274.9 kB / 0.495 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1239, allocations: 0.7002 MB / 0.4957 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1239, allocations: 15.44 kB / 0.4957 GB, free: 3.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1239, allocations: 0 / 0.4957 GB, free: 3.98 MB / 382.1 MB Notification: Performance of Templates: time 0.003148/0.1271, allocations: 1.336 MB / 0.497 GB, free: 2.641 MB / 382.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 -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