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.001786/0.001786, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002111/0.002111, allocations: 215.4 kB / 22.99 MB, free: 4.602 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.411/1.411, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.235/0.235, allocations: 44.26 MB / 330.3 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 180] 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.002277/0.002277, allocations: 71.89 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 61.04 MB / 0.5161 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003046/0.123, allocations: 1.624 MB / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.124, allocations: 0.558 MB / 0.5183 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.1241, allocations: 0 / 0.5183 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.1242, allocations: 11.86 kB / 0.5183 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.1243, allocations: 19.86 kB / 0.5183 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1246, allocations: 59.81 kB / 0.5184 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1247, allocations: 103.7 kB / 0.5185 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1249, allocations: 32.17 kB / 0.5185 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.125, allocations: 43.86 kB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1252, allocations: 43.75 kB / 0.5186 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1252, allocations: 12 kB / 0.5186 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.257e-05/0.1252, allocations: 8 kB / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1253, allocations: 27.92 kB / 0.5186 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.1253, allocations: 39.8 kB / 0.5187 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1255, allocations: 103.5 kB / 0.5188 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1255, allocations: 0 / 0.5188 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1255, allocations: 4 kB / 0.5188 GB, free: 4.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1255, allocations: 0 / 0.5188 GB, free: 4.496 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.0007496/0.1263, allocations: 343.7 kB / 0.5191 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1263, allocations: 12.03 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1263, allocations: 34.75 kB / 0.5191 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1264, allocations: 20.84 kB / 0.5191 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1266, allocations: 150.4 kB / 0.5193 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1266, allocations: 4.375 kB / 0.5193 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1267, allocations: 12.38 kB / 0.5193 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1269, allocations: 89.7 kB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1269, allocations: 7.984 kB / 0.5194 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1269, allocations: 7.938 kB / 0.5194 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1269, allocations: 3.938 kB / 0.5194 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.127, allocations: 47.97 kB / 0.5195 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.1276, allocations: 315.7 kB / 0.5198 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1278, allocations: 58.58 kB / 0.5198 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.1278, allocations: 32.91 kB / 0.5198 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1279, allocations: 4.031 kB / 0.5198 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.1281, allocations: 103.2 kB / 0.5199 GB, free: 3.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.1281, allocations: 0 / 0.5199 GB, free: 3.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003593/0.1284, allocations: 125.5 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1285, allocations: 55.41 kB / 0.5201 GB, free: 2.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1286, allocations: 142.7 kB / 0.5203 GB, free: 2.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1286, allocations: 29.69 kB / 0.5203 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.1287, allocations: 104.3 kB / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1287, allocations: 27.8 kB / 0.5204 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.1288, allocations: 33.7 kB / 0.5204 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.129, allocations: 322.8 kB / 0.5207 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.129, allocations: 23.98 kB / 0.5208 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1292, allocations: 87.66 kB / 0.5209 GB, free: 2.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1294, allocations: 119.6 kB / 0.521 GB, free: 1.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1294, allocations: 4 kB / 0.521 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002858/0.1297, allocations: 133.4 kB / 0.5211 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1297, allocations: 13.81 kB / 0.5211 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1297, allocations: 0 / 0.5211 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1297, allocations: 4 kB / 0.5211 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1298, allocations: 23.98 kB / 0.5211 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1298, allocations: 3.938 kB / 0.5211 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.1299, allocations: 20.31 kB / 0.5212 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1299, allocations: 8.219 kB / 0.5212 GB, free: 1.766 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.0001324/0.1301, allocations: 129.8 kB / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.1301, allocations: 7.953 kB / 0.5213 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1301, allocations: 24.72 kB / 0.5213 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1301, allocations: 0 / 0.5213 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1301, allocations: 7.938 kB / 0.5213 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1301, allocations: 0 / 0.5213 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1303, allocations: 172.6 kB / 0.5215 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1303, allocations: 3.938 kB / 0.5215 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.1304, allocations: 8 kB / 0.5215 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1304, allocations: 8 kB / 0.5215 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1304, allocations: 3.984 kB / 0.5215 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1304, allocations: 3.938 kB / 0.5215 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1304, allocations: 3.938 kB / 0.5215 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1308, allocations: 169 kB / 0.5217 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.1308, allocations: 3.953 kB / 0.5217 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1308, allocations: 8 kB / 0.5217 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.1309, allocations: 0 / 0.5217 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1309, allocations: 11.92 kB / 0.5217 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1309, allocations: 12.05 kB / 0.5217 GB, free: 1.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.834e-05/0.131, allocations: 107.3 kB / 0.5218 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.131, allocations: 0 / 0.5218 GB, free: 1.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1312, allocations: 16 kB / 0.5218 GB, free: 1.004 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.0006878/0.1319, allocations: 0.6944 MB / 0.5225 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1321, allocations: 80.39 kB / 0.5226 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1321, allocations: 64 / 0.5226 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.1322, allocations: 39.92 kB / 0.5226 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.1324, allocations: 18.42 kB / 0.5227 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1343, allocations: 1.635 MB / 0.5243 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.1344, allocations: 96.19 kB / 0.5243 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.1344, allocations: 8.484 kB / 0.5243 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.1345, allocations: 31.42 kB / 0.5244 GB, free: 14.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1345, allocations: 0 / 0.5244 GB, free: 14.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.1648, allocations: 2.907 MB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.76, allocations: 8 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0003996 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.csv","/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] "Error: Could not read variable mean1.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable mean1.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! Error: Could not read variable rootMeanSquare.mean.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv. Warning: Get data of variable rootMeanSquare.mean.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.010564323980361]