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.001611/0.001611, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001965/0.001965, allocations: 218 kB / 22.99 MB, free: 4.977 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.615/1.615, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2846/0.2846, allocations: 44.26 MB / 330.3 MB, free: 9.301 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: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [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.002728/0.002728, allocations: 67.91 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1474, allocations: 61.04 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00357/0.1509, allocations: 1.62 MB / 0.5182 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1522, allocations: 0.5542 MB / 0.5188 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1523, allocations: 3.938 kB / 0.5188 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1525, allocations: 11.86 kB / 0.5188 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.1525, allocations: 11.88 kB / 0.5188 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1529, allocations: 63.81 kB / 0.5188 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1531, allocations: 107.7 kB / 0.5189 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1533, allocations: 31.89 kB / 0.519 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1534, allocations: 51.8 kB / 0.519 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1536, allocations: 39.83 kB / 0.5191 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.1536, allocations: 8 kB / 0.5191 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.381e-05/0.1536, allocations: 8 kB / 0.5191 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.1537, allocations: 23.91 kB / 0.5191 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.1538, allocations: 39.8 kB / 0.5191 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.154, allocations: 103.6 kB / 0.5192 GB, free: 3.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.154, allocations: 4 kB / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.154, allocations: 0 / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.154, allocations: 0 / 0.5192 GB, free: 3.98 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.0009085/0.1549, allocations: 351.7 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.155, allocations: 8.031 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.155, allocations: 16.83 kB / 0.5196 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1553, allocations: 154.3 kB / 0.5197 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1553, allocations: 4.375 kB / 0.5198 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.1554, allocations: 8.375 kB / 0.5198 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1556, allocations: 93.95 kB / 0.5198 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1556, allocations: 0 / 0.5198 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1556, allocations: 8 kB / 0.5199 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1556, allocations: 0 / 0.5199 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1558, allocations: 47.91 kB / 0.5199 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.1564, allocations: 292.3 kB / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1566, allocations: 58.53 kB / 0.5202 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.1567, allocations: 36.95 kB / 0.5203 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1567, allocations: 0 / 0.5203 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1569, allocations: 95.28 kB / 0.5204 GB, free: 2.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1569, allocations: 0 / 0.5204 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003806/0.1573, allocations: 129.5 kB / 0.5205 GB, free: 2.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1573, allocations: 55.41 kB / 0.5205 GB, free: 2.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1575, allocations: 134.8 kB / 0.5207 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1575, allocations: 33.7 kB / 0.5207 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.1576, allocations: 108.2 kB / 0.5208 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1577, allocations: 31.8 kB / 0.5208 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.1577, allocations: 29.72 kB / 0.5209 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1579, allocations: 326.8 kB / 0.5212 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.158, allocations: 19.98 kB / 0.5212 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1581, allocations: 91.64 kB / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1583, allocations: 115.6 kB / 0.5214 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1583, allocations: 4 kB / 0.5214 GB, free: 1.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002794/0.1586, allocations: 137.4 kB / 0.5215 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1586, allocations: 10.09 kB / 0.5215 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1586, allocations: 4.094 kB / 0.5215 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1587, allocations: 7.984 kB / 0.5215 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1588, allocations: 27.92 kB / 0.5216 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1588, allocations: 0 / 0.5216 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.1589, allocations: 19.89 kB / 0.5216 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1589, allocations: 7.984 kB / 0.5216 GB, free: 1.332 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.0001287/0.159, allocations: 133.7 kB / 0.5217 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1591, allocations: 7.953 kB / 0.5217 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.1591, allocations: 12.72 kB / 0.5217 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1591, allocations: 4 kB / 0.5218 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1591, allocations: 0 / 0.5218 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1591, allocations: 3.938 kB / 0.5218 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1593, allocations: 145.2 kB / 0.5219 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1593, allocations: 4 kB / 0.5219 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.1594, allocations: 12 kB / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1594, allocations: 0 / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1594, allocations: 8.359 kB / 0.5219 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1594, allocations: 0 / 0.5219 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1594, allocations: 4 kB / 0.5219 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1598, allocations: 176.8 kB / 0.5221 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.1598, allocations: 11.98 kB / 0.5221 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1598, allocations: 0 / 0.5221 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.1599, allocations: 7.984 kB / 0.5221 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1599, allocations: 4 kB / 0.5221 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1599, allocations: 7.984 kB / 0.5221 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.444e-05/0.16, allocations: 103.3 kB / 0.5222 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.5222 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1603, allocations: 23.94 kB / 0.5222 GB, free: 0.6133 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.0001219/0.1604, allocations: 103.2 kB / 0.5223 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1606, allocations: 75.84 kB / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1606, allocations: 0 / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.983e-05/0.1607, allocations: 27.98 kB / 0.5224 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.161, allocations: 14.48 kB / 0.5225 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.1616, allocations: 253.6 kB / 0.5227 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.614e-05/0.1617, allocations: 88.19 kB / 0.5228 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.829e-05/0.1617, allocations: 8.484 kB / 0.5228 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.1618, allocations: 15.44 kB / 0.5228 GB, free: 15.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1618, allocations: 0 / 0.5228 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Templates: time 0.004087/0.1659, allocations: 1.007 MB / 0.5238 GB, free: 15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/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: 5.379057040438056]