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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.00082, allocations: 94.19 kB / 18 MB, free: 5.602 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.001024/0.001024, allocations: 177.9 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 243 MB, free: 20 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1972/0.1972, allocations: 44.26 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003254, allocations: 11.94 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001882/0.1098, allocations: 1.37 MB / 474.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000949/0.1108, allocations: 0.5183 MB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1109, allocations: 7.875 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.532e-05/0.111, allocations: 7.922 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.1111, allocations: 15.92 kB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1114, allocations: 51.89 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1116, allocations: 95.7 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1117, allocations: 37.39 kB / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1119, allocations: 35.78 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.112, allocations: 39.78 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.112, allocations: 4 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.112, allocations: 4 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.1121, allocations: 19.91 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.1122, allocations: 61.5 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1123, allocations: 76.06 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1123, allocations: 3.938 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1123, allocations: 4 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1123, allocations: 0 / 475.3 MB, free: 10.97 MB / 350.1 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.0006592/0.113, allocations: 401.6 kB / 475.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.113, allocations: 8.031 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.1131, allocations: 12.84 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1133, allocations: 216 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1134, allocations: 8.375 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1134, allocations: 8.375 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1136, allocations: 102 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1137, allocations: 0 / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1137, allocations: 4 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1137, allocations: 0 / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1139, allocations: 55.97 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.1144, allocations: 380.5 kB / 476.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1146, allocations: 70.48 kB / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.1147, allocations: 28.98 kB / 476.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1147, allocations: 4 kB / 476.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.1149, allocations: 95.34 kB / 476.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.1149, allocations: 4 kB / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003493/0.1153, allocations: 133.4 kB / 476.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1154, allocations: 59.34 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1155, allocations: 152 kB / 477 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1155, allocations: 29.7 kB / 477 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1156, allocations: 112 kB / 477.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.1156, allocations: 27.7 kB / 477.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1157, allocations: 21.7 kB / 477.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1158, allocations: 318.8 kB / 477.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/0.1159, allocations: 35.92 kB / 477.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.116, allocations: 79.72 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1162, allocations: 127.6 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1162, allocations: 0 / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002616/0.1164, allocations: 141.5 kB / 477.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1165, allocations: 8 kB / 477.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1165, allocations: 4 kB / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1165, allocations: 4 kB / 477.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1166, allocations: 31.86 kB / 477.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1167, allocations: 4 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.1167, allocations: 15.92 kB / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1168, allocations: 4 kB / 477.9 MB, free: 8.043 MB / 350.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_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 0.0001038/0.1169, allocations: 130.3 kB / 478 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1169, allocations: 7.906 kB / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.1169, allocations: 16.7 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1169, allocations: 3.938 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.117, allocations: 0 / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.117, allocations: 0 / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1171, allocations: 209.5 kB / 478.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1172, allocations: 0 / 478.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.1173, allocations: 12.09 kB / 478.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.1173, allocations: 3.984 kB / 478.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1173, allocations: 11.98 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1173, allocations: 3.938 kB / 478.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1173, allocations: 0 / 478.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1176, allocations: 173.2 kB / 478.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1177, allocations: 85.05 kB / 478.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1177, allocations: 8.062 kB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.1178, allocations: 11.92 kB / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1179, allocations: 4 kB / 478.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1179, allocations: 7.984 kB / 478.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.1179, allocations: 101.8 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.118, allocations: 0 / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1182, allocations: 20 kB / 478.7 MB, free: 7.156 MB / 350.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_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 0.0001103/0.1183, allocations: 111.1 kB / 478.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1185, allocations: 83.83 kB / 478.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1185, allocations: 0 / 478.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.1186, allocations: 35.98 kB / 478.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.1188, allocations: 11.98 kB / 478.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.1194, allocations: 329.3 kB / 479.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1196, allocations: 0.7043 MB / 480 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.1197, allocations: 15.44 kB / 480 MB, free: 5.812 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1197, allocations: 0 / 480 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.003052/0.1228, allocations: 1.325 MB / 481.3 MB, free: 4.484 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches