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.001809/0.001809, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.0022/0.0022, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.594/1.594, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2342/0.2342, allocations: 44.26 MB / 331.1 MB, free: 9.309 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare",fmuType="cs",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.002404/0.002404, allocations: 67.91 kB / 468.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1423, allocations: 61.04 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003274/0.1456, allocations: 1.63 MB / 0.5185 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1467, allocations: 0.5475 MB / 0.519 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.1467, allocations: 7.938 kB / 0.519 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1468, allocations: 11.86 kB / 0.519 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.1469, allocations: 15.86 kB / 0.5191 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1472, allocations: 59.81 kB / 0.5191 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1474, allocations: 103.7 kB / 0.5192 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1475, allocations: 28.19 kB / 0.5192 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1477, allocations: 55.78 kB / 0.5193 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1478, allocations: 43.83 kB / 0.5193 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1478, allocations: 11.94 kB / 0.5194 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.366e-05/0.1478, allocations: 8 kB / 0.5194 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1479, allocations: 27.97 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.148, allocations: 35.8 kB / 0.5194 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1482, allocations: 103.6 kB / 0.5195 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1482, allocations: 0 / 0.5195 GB, free: 4.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1482, allocations: 0 / 0.5195 GB, free: 4.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1482, allocations: 0 / 0.5195 GB, free: 4.492 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.000893/0.1491, allocations: 359.5 kB / 0.5199 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1491, allocations: 8.031 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.1491, allocations: 8.188 kB / 0.5199 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.1492, allocations: 38.75 kB / 0.5199 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.1492, allocations: 16.84 kB / 0.5199 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1495, allocations: 146.4 kB / 0.5201 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1495, allocations: 8.375 kB / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.1495, allocations: 8.375 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1498, allocations: 89.58 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1498, allocations: 7.938 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1498, allocations: 0 / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1498, allocations: 0 / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.15, allocations: 51.97 kB / 0.5202 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.1505, allocations: 311.7 kB / 0.5205 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1507, allocations: 62.52 kB / 0.5206 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1508, allocations: 24.97 kB / 0.5206 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1508, allocations: 3.984 kB / 0.5206 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.151, allocations: 103.2 kB / 0.5207 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.151, allocations: 4 kB / 0.5207 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004188/0.1515, allocations: 125.5 kB / 0.5208 GB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.1515, allocations: 59.34 kB / 0.5209 GB, free: 2.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1517, allocations: 134.8 kB / 0.521 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.1517, allocations: 33.69 kB / 0.5211 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.1518, allocations: 104.3 kB / 0.5212 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1519, allocations: 27.8 kB / 0.5212 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.152, allocations: 37.7 kB / 0.5212 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1521, allocations: 322.8 kB / 0.5215 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.1522, allocations: 23.98 kB / 0.5215 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1524, allocations: 87.66 kB / 0.5216 GB, free: 2.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1526, allocations: 119.6 kB / 0.5217 GB, free: 1.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1526, allocations: 4 kB / 0.5217 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002838/0.1529, allocations: 141.4 kB / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1529, allocations: 9.875 kB / 0.5219 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1529, allocations: 0 / 0.5219 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.109e-05/0.1529, allocations: 4 kB / 0.5219 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1531, allocations: 31.86 kB / 0.5219 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1531, allocations: 0 / 0.5219 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.1532, allocations: 20.16 kB / 0.5219 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1532, allocations: 8 kB / 0.522 GB, free: 1.746 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.0001369/0.1533, allocations: 125.8 kB / 0.5221 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.1533, allocations: 7.953 kB / 0.5221 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1534, allocations: 16.7 kB / 0.5221 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1534, allocations: 3.938 kB / 0.5221 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1534, allocations: 0 / 0.5221 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1534, allocations: 0 / 0.5221 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1536, allocations: 168.6 kB / 0.5223 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1536, allocations: 0 / 0.5223 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1537, allocations: 16.38 kB / 0.5223 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1537, allocations: 4 kB / 0.5223 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1537, allocations: 3.984 kB / 0.5223 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1537, allocations: 3.938 kB / 0.5223 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1537, allocations: 3.938 kB / 0.5223 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.1541, allocations: 169 kB / 0.5225 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.1541, allocations: 3.953 kB / 0.5225 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1541, allocations: 4 kB / 0.5225 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1542, allocations: 11.88 kB / 0.5225 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.1543, allocations: 7.984 kB / 0.5225 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1543, allocations: 12.05 kB / 0.5225 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.983e-05/0.1544, allocations: 103.3 kB / 0.5226 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 0 / 0.5226 GB, free: 1.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1546, allocations: 20 kB / 0.5226 GB, free: 1 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.0007146/0.1553, allocations: 0.6983 MB / 0.5233 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1555, allocations: 72.2 kB / 0.5234 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1556, allocations: 8.062 kB / 0.5234 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.1556, allocations: 35.92 kB / 0.5234 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1559, allocations: 22.73 kB / 0.5234 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.1581, allocations: 1.651 MB / 0.525 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.1582, allocations: 88.19 kB / 0.5251 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1582, allocations: 12.48 kB / 0.5251 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1583, allocations: 31.42 kB / 0.5252 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1583, allocations: 0 / 0.5252 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.1883, allocations: 2.56 MB / 0.5277 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.87, allocations: 12.02 kB / 0.5277 GB, free: 11.64 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: 15.325446809991263]