Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007947/0.0007947, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 9.664 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 63.57 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001725/0.1215, allocations: 1.413 MB / 484.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.1225, allocations: 0.5612 MB / 485.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.1226, allocations: 4 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.809e-05/0.1227, allocations: 7.922 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.1228, allocations: 11.86 kB / 485.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.123, allocations: 59.81 kB / 485.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1232, allocations: 111.6 kB / 485.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1233, allocations: 37.09 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1235, allocations: 39.8 kB / 485.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1236, allocations: 43.77 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1236, allocations: 0 / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.1237, allocations: 19.92 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.1237, allocations: 23.92 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.1238, allocations: 69.42 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.124, allocations: 107.9 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.124, allocations: 0 / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.124, allocations: 0 / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.124, allocations: 4 kB / 485.7 MB, free: 1.512 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.0005824/0.1246, allocations: 399.2 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1246, allocations: 8.875 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.1247, allocations: 42.73 kB / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1249, allocations: 28.73 kB / 486.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1251, allocations: 216.6 kB / 486.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1251, allocations: 8.375 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1252, allocations: 11.94 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1254, allocations: 93.58 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1254, allocations: 0 / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1254, allocations: 11.98 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1254, allocations: 0 / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1255, allocations: 55.97 kB / 486.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.1261, allocations: 392.4 kB / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1262, allocations: 62.5 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.1263, allocations: 32.98 kB / 487 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1263, allocations: 0 / 487 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1265, allocations: 99.34 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1265, allocations: 0 / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003237/0.1268, allocations: 141.6 kB / 487.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1269, allocations: 59.41 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.127, allocations: 141.9 kB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.127, allocations: 29.7 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.1271, allocations: 111.9 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1271, allocations: 31.62 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1272, allocations: 17.72 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1273, allocations: 322.8 kB / 487.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.1274, allocations: 31.92 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1275, allocations: 90.23 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1277, allocations: 127.6 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1277, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002644/0.1279, allocations: 149.4 kB / 488.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.128, allocations: 6.5 kB / 488.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.128, allocations: 4 kB / 488.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.128, allocations: 4 kB / 488.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1281, allocations: 23.92 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1281, allocations: 4 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.1282, allocations: 15.84 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1282, allocations: 12.14 kB / 488.4 MB, free: 14.5 MB / 366.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.0001049/0.1283, allocations: 125.8 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1284, allocations: 11.84 kB / 488.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.1284, allocations: 20.59 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1284, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1284, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1284, allocations: 8.062 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1286, allocations: 205.6 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1286, allocations: 0 / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.1287, allocations: 15.94 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1287, allocations: 4 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1287, allocations: 3.984 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1287, allocations: 0 / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1287, allocations: 4 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.1291, allocations: 180.9 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1291, allocations: 85.05 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1292, allocations: 7.969 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.1292, allocations: 11.98 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1293, allocations: 0 / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1293, allocations: 7.984 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.1294, allocations: 110.3 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1294, allocations: 0 / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1296, allocations: 23.94 kB / 489.2 MB, free: 13.6 MB / 366.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.0005185/0.1301, allocations: 0.7176 MB / 489.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1303, allocations: 75.97 kB / 490 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1303, allocations: 0 / 490 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.1304, allocations: 39.92 kB / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.1306, allocations: 11.98 kB / 490.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1323, allocations: 1.744 MB / 491.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1326, allocations: 0.7157 MB / 492.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.1326, allocations: 16.41 kB / 492.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.1327, allocations: 31.42 kB / 492.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1327, allocations: 0 / 492.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.1449, allocations: 2.17 MB / 494.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1451, allocations: 196.6 kB / 494.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.864, allocations: 0 / 494.9 MB, free: 7.727 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches