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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 185.4 kB / 16.92 MB, free: 6.914 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.601/1.601, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.354/0.354, allocations: 43.58 MB / 315 MB, free: 9.02 MB / 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.0006016/0.0006018, allocations: 16 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001711/0.1225, allocations: 1.37 MB / 444.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.1235, allocations: 0.5543 MB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1235, allocations: 3.938 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/0.1236, allocations: 7.938 kB / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.1237, allocations: 19.84 kB / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.124, allocations: 51.89 kB / 445.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1241, allocations: 91.77 kB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1243, allocations: 31.97 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.1244, allocations: 39.78 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1245, allocations: 39.78 kB / 445.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1245, allocations: 4 kB / 445.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.1246, allocations: 0 / 445.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.1246, allocations: 23.91 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.1247, allocations: 65.44 kB / 445.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1248, allocations: 91.94 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1248, allocations: 0 / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1248, allocations: 0 / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1249, allocations: 0 / 445.9 MB, free: 10.39 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.0006862/0.1255, allocations: 399.1 kB / 446.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1256, allocations: 12.03 kB / 446.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.1256, allocations: 30.75 kB / 446.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1257, allocations: 12.84 kB / 446.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1259, allocations: 212 kB / 446.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1259, allocations: 8.359 kB / 446.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.126, allocations: 8.375 kB / 446.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1262, allocations: 97.77 kB / 446.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1262, allocations: 0 / 446.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1262, allocations: 4 kB / 446.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1262, allocations: 8 kB / 446.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1264, allocations: 55.91 kB / 446.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.1269, allocations: 360.6 kB / 447.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1271, allocations: 70.52 kB / 447.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.1272, allocations: 24.86 kB / 447.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1272, allocations: 8.031 kB / 447.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.1274, allocations: 103.2 kB / 447.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1274, allocations: 0 / 447.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003303/0.1277, allocations: 133.5 kB / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1278, allocations: 51.41 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1279, allocations: 141.8 kB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1279, allocations: 33.69 kB / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.128, allocations: 108.2 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.128, allocations: 23.69 kB / 447.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1281, allocations: 21.72 kB / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1282, allocations: 318.8 kB / 448.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.1283, allocations: 31.92 kB / 448.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1284, allocations: 91.7 kB / 448.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1286, allocations: 123.6 kB / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1286, allocations: 0 / 448.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002463/0.1289, allocations: 157.3 kB / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1289, allocations: 7.281 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1289, allocations: 4 kB / 448.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1289, allocations: 7.938 kB / 448.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1291, allocations: 23.92 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1291, allocations: 7.938 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1292, allocations: 8.219 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1293, allocations: 12 kB / 448.6 MB, free: 7.441 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.0001196/0.1294, allocations: 129.7 kB / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1294, allocations: 11.91 kB / 448.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1295, allocations: 8.719 kB / 448.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1295, allocations: 4.375 kB / 448.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1295, allocations: 3.938 kB / 448.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.1295, allocations: 3.984 kB / 448.7 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1297, allocations: 193.6 kB / 448.9 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1297, allocations: 11.94 kB / 448.9 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.1298, allocations: 11.98 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1298, allocations: 4 kB / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1298, allocations: 0 / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1298, allocations: 0 / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1298, allocations: 3.938 kB / 449 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.1302, allocations: 180.9 kB / 449.1 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1302, allocations: 85 kB / 449.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1303, allocations: 8 kB / 449.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.1303, allocations: 0 / 449.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1304, allocations: 11.92 kB / 449.2 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1304, allocations: 4 kB / 449.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.685e-05/0.1305, allocations: 107.2 kB / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1305, allocations: 0 / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1307, allocations: 24.06 kB / 449.4 MB, free: 6.555 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.0005766/0.1313, allocations: 0.7099 MB / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1315, allocations: 79.91 kB / 450.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1315, allocations: 0 / 450.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.1316, allocations: 44.09 kB / 450.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1318, allocations: 15.88 kB / 450.2 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1336, allocations: 1.688 MB / 451.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1339, allocations: 0.7081 MB / 452.6 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.1339, allocations: 8.547 kB / 452.6 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.134, allocations: 35.42 kB / 452.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.134, allocations: 0 / 452.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.1466, allocations: 2.037 MB / 454.7 MB, free: 1.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.1468, allocations: 182.9 kB / 454.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.831, allocations: 4 kB / 454.9 MB, free: 0.8125 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches