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.001345/0.001345, 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.001535/0.001535, allocations: 212.9 kB / 22.99 MB, free: 4.605 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.445/1.445, 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.2226/0.2226, allocations: 44.25 MB / 330.3 MB, free: 9.32 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.002478/0.002478, allocations: 67.91 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1236, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003749/0.1273, allocations: 1.632 MB / 0.5177 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.1283, allocations: 0.5463 MB / 0.5183 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1284, allocations: 7.938 kB / 0.5183 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.1285, allocations: 11.86 kB / 0.5183 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.1285, allocations: 11.88 kB / 0.5183 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1288, allocations: 59.81 kB / 0.5184 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.129, allocations: 111.7 kB / 0.5185 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1291, allocations: 28.2 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1292, allocations: 55.77 kB / 0.5185 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1293, allocations: 31.84 kB / 0.5186 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1293, allocations: 8 kB / 0.5186 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.1293, allocations: 8 kB / 0.5186 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.1294, allocations: 31.92 kB / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.1294, allocations: 39.78 kB / 0.5187 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1296, allocations: 99.61 kB / 0.5187 GB, free: 4.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1296, allocations: 4 kB / 0.5188 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1296, allocations: 0 / 0.5188 GB, free: 4.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1296, allocations: 3.938 kB / 0.5188 GB, free: 4.488 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.0006908/0.1303, allocations: 347.7 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1303, allocations: 8.031 kB / 0.5191 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.1304, allocations: 46.73 kB / 0.5191 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1304, allocations: 16.84 kB / 0.5192 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1307, allocations: 142.4 kB / 0.5193 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1307, allocations: 8.375 kB / 0.5193 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1307, allocations: 12.31 kB / 0.5193 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1309, allocations: 89.77 kB / 0.5194 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.131, allocations: 3.938 kB / 0.5194 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.131, allocations: 3.938 kB / 0.5194 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.131, allocations: 4 kB / 0.5194 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1311, allocations: 47.97 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.1317, allocations: 323.7 kB / 0.5198 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1318, allocations: 54.5 kB / 0.5198 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.1319, allocations: 32.98 kB / 0.5198 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1319, allocations: 0 / 0.5198 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.1321, allocations: 103.3 kB / 0.5199 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1321, allocations: 0 / 0.5199 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003438/0.1325, allocations: 125.5 kB / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1325, allocations: 55.39 kB / 0.5201 GB, free: 2.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1326, allocations: 146.7 kB / 0.5203 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1327, allocations: 25.7 kB / 0.5203 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1327, allocations: 108.3 kB / 0.5204 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1328, allocations: 27.8 kB / 0.5204 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1328, allocations: 33.7 kB / 0.5204 GB, free: 2.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.133, allocations: 318.8 kB / 0.5207 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.1331, allocations: 27.98 kB / 0.5208 GB, free: 2.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1332, allocations: 87.64 kB / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1334, allocations: 119.6 kB / 0.521 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1334, allocations: 0 / 0.521 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002731/0.1337, allocations: 145.4 kB / 0.5211 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1337, allocations: 5.875 kB / 0.5211 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1337, allocations: 4 kB / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1337, allocations: 4.375 kB / 0.5211 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1338, allocations: 23.92 kB / 0.5211 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1338, allocations: 7.938 kB / 0.5212 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.1339, allocations: 11.95 kB / 0.5212 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1339, allocations: 12.16 kB / 0.5212 GB, free: 1.754 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.0001151/0.134, allocations: 129.8 kB / 0.5213 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1341, allocations: 15.94 kB / 0.5213 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.1341, allocations: 8.719 kB / 0.5213 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1341, allocations: 0 / 0.5213 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1341, allocations: 7.938 kB / 0.5213 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1341, allocations: 0 / 0.5213 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1343, allocations: 172.5 kB / 0.5215 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1343, allocations: 0 / 0.5215 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.1344, allocations: 11.98 kB / 0.5215 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1344, allocations: 4 kB / 0.5215 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1344, allocations: 8 kB / 0.5215 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1344, allocations: 0 / 0.5215 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1344, allocations: 3.938 kB / 0.5215 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.1348, allocations: 165 kB / 0.5217 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.1348, allocations: 7.984 kB / 0.5217 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1348, allocations: 4 kB / 0.5217 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1349, allocations: 7.984 kB / 0.5217 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1349, allocations: 15.86 kB / 0.5217 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1349, allocations: 4.062 kB / 0.5217 GB, free: 1.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.135, allocations: 103.3 kB / 0.5218 GB, free: 1.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.135, allocations: 0 / 0.5218 GB, free: 1.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1352, allocations: 20 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.0006558/0.1359, allocations: 0.7062 MB / 0.5225 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1361, allocations: 76.22 kB / 0.5226 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1361, allocations: 0 / 0.5226 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.1362, allocations: 36.05 kB / 0.5226 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.1364, allocations: 22.67 kB / 0.5227 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1384, allocations: 1.647 MB / 0.5243 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.599e-05/0.1385, allocations: 88.19 kB / 0.5243 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.776e-05/0.1385, allocations: 8.5 kB / 0.5244 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.1386, allocations: 31.42 kB / 0.5244 GB, free: 14.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1386, allocations: 0 / 0.5244 GB, free: 14.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.1666, allocations: 2.911 MB / 0.5272 GB, free: 11.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.63, allocations: 0 / 0.5272 GB, free: 11.31 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 & /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.854543674737215]