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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 114 kB / 19.69 MB, free: 2.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002342/0.002342, allocations: 217.7 kB / 23 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2742/0.2742, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 74.56 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1145, allocations: 61.04 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003016/0.1175, allocations: 1.686 MB / 0.5178 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1186, allocations: 0.5775 MB / 0.5183 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.1186, allocations: 3.938 kB / 0.5183 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.1187, allocations: 11.92 kB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.1188, allocations: 23.8 kB / 0.5184 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1191, allocations: 59.81 kB / 0.5184 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1193, allocations: 99.7 kB / 0.5185 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1194, allocations: 36.17 kB / 0.5186 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1195, allocations: 47.84 kB / 0.5186 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1196, allocations: 43.78 kB / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1196, allocations: 15.94 kB / 0.5187 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.873e-05/0.1196, allocations: 8 kB / 0.5187 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.1197, allocations: 27.91 kB / 0.5187 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.1197, allocations: 43.8 kB / 0.5187 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1199, allocations: 103.5 kB / 0.5188 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1199, allocations: 0 / 0.5188 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1199, allocations: 0 / 0.5188 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1199, allocations: 0 / 0.5188 GB, free: 4.547 MB / 398.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.0006859/0.1206, allocations: 351.7 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1206, allocations: 12.03 kB / 0.5192 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1207, allocations: 42.73 kB / 0.5192 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.1207, allocations: 16.84 kB / 0.5192 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1209, allocations: 146.3 kB / 0.5194 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.121, allocations: 8.375 kB / 0.5194 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.121, allocations: 4.375 kB / 0.5194 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1212, allocations: 93.77 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1212, allocations: 0 / 0.5195 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1212, allocations: 4 kB / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1212, allocations: 0 / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1214, allocations: 47.97 kB / 0.5195 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.1219, allocations: 339.6 kB / 0.5199 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.122, allocations: 54.59 kB / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.1221, allocations: 32.89 kB / 0.5199 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1221, allocations: 11.92 kB / 0.52 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1223, allocations: 99.34 kB / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1223, allocations: 0 / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003373/0.1226, allocations: 125.5 kB / 0.5202 GB, free: 3.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1227, allocations: 51.41 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1228, allocations: 142.9 kB / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1228, allocations: 33.7 kB / 0.5204 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1229, allocations: 104.3 kB / 0.5205 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1229, allocations: 31.8 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.123, allocations: 33.64 kB / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1231, allocations: 322.8 kB / 0.5209 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.1232, allocations: 19.98 kB / 0.5209 GB, free: 2.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1233, allocations: 91.64 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1235, allocations: 123.6 kB / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1235, allocations: 0 / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002628/0.1238, allocations: 141.5 kB / 0.5212 GB, free: 1.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1238, allocations: 9.875 kB / 0.5212 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1238, allocations: 4 kB / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1238, allocations: 0 / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1239, allocations: 27.92 kB / 0.5213 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1239, allocations: 3.938 kB / 0.5213 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.124, allocations: 15.95 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.124, allocations: 7.984 kB / 0.5213 GB, free: 1.793 MB / 398.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.0001125/0.1241, allocations: 129.9 kB / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.1241, allocations: 7.953 kB / 0.5214 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.1242, allocations: 12.72 kB / 0.5214 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1242, allocations: 0 / 0.5214 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1242, allocations: 8.312 kB / 0.5214 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1242, allocations: 3.984 kB / 0.5214 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1244, allocations: 176.6 kB / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1244, allocations: 0 / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.1245, allocations: 19.92 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1245, allocations: 0 / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1245, allocations: 8 kB / 0.5216 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1245, allocations: 0 / 0.5216 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1245, allocations: 3.938 kB / 0.5216 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1248, allocations: 165 kB / 0.5218 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.1248, allocations: 11.97 kB / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1249, allocations: 0 / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.1249, allocations: 4.062 kB / 0.5218 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.125, allocations: 19.92 kB / 0.5218 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.125, allocations: 0 / 0.5218 GB, free: 1.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.1251, allocations: 107.2 kB / 0.5219 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1251, allocations: 3.938 kB / 0.5219 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1253, allocations: 20 kB / 0.522 GB, free: 1.031 MB / 398.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.0006259/0.1259, allocations: 0.7021 MB / 0.5226 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1261, allocations: 71.89 kB / 0.5227 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1261, allocations: 3.938 kB / 0.5227 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.1262, allocations: 28.17 kB / 0.5227 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.1264, allocations: 18.56 kB / 0.5228 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1283, allocations: 1.651 MB / 0.5244 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1286, allocations: 0.7041 MB / 0.5251 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.613e-05/0.1287, allocations: 12.48 kB / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.1288, allocations: 27.66 kB / 0.5251 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1288, allocations: 0 / 0.5251 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.1583, allocations: 2.49 MB / 0.5275 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.93, allocations: 4.062 kB / 0.5275 GB, free: 11.13 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --stepSize=0.0003996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.17118361312896]