Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.00192/0.00192, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001639/0.001639, allocations: 214.2 kB / 23.74 MB, free: 4.449 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.651/1.651, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2299/0.2299, allocations: 44.25 MB / 331.1 MB, free: 9.324 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.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [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.003056/0.003056, allocations: 75.89 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1416, allocations: 61.04 MB / 0.5174 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003661/0.1452, allocations: 2.022 MB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1476, allocations: 1.208 MB / 0.5205 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.1477, allocations: 0 / 0.5205 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.821e-05/0.1478, allocations: 23.67 kB / 0.5206 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1479, allocations: 43.64 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.1485, allocations: 183.3 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1487, allocations: 176.1 kB / 0.521 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.149, allocations: 84.06 kB / 0.521 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1491, allocations: 87.58 kB / 0.5211 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1492, allocations: 75.55 kB / 0.5212 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.1493, allocations: 16 kB / 0.5212 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.1496, allocations: 143.9 kB / 0.5213 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.1497, allocations: 47.83 kB / 0.5214 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.1497, allocations: 75.55 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.1502, allocations: 314.6 kB / 0.5218 GB, free: 2.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1502, allocations: 0 / 0.5218 GB, free: 2.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1502, allocations: 4 kB / 0.5218 GB, free: 2.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1502, allocations: 0 / 0.5218 GB, free: 2.156 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006507/0.1509, allocations: 457.6 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1509, allocations: 12.03 kB / 0.5222 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.1517, allocations: 64.75 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1519, allocations: 134.2 kB / 0.5224 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.1519, allocations: 21.03 kB / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.152, allocations: 32.38 kB / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.1523, allocations: 202.4 kB / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1523, allocations: 0 / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.1524, allocations: 12 kB / 0.5227 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1524, allocations: 4 kB / 0.5227 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.1526, allocations: 146.5 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.1534, allocations: 480.8 kB / 0.5233 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.154, allocations: 223.7 kB / 0.5235 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1541, allocations: 57.31 kB / 0.5235 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1541, allocations: 240 / 0.5235 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1541, allocations: 46.72 kB / 0.5236 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.1541, allocations: 4 kB / 0.5236 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004709/0.1546, allocations: 214.3 kB / 0.5238 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1547, allocations: 55.41 kB / 0.5238 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.1548, allocations: 101.8 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1548, allocations: 33.7 kB / 0.524 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.1549, allocations: 140.7 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.354e-05/0.155, allocations: 87.22 kB / 0.5242 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.155, allocations: 41.7 kB / 0.5242 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1552, allocations: 322.8 kB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.1553, allocations: 43.98 kB / 0.5246 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.1554, allocations: 43.97 kB / 0.5246 GB, free: 15.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.1556, allocations: 122.2 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1556, allocations: 0 / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002782/0.1559, allocations: 165.5 kB / 0.5249 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1559, allocations: 15.88 kB / 0.5249 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1559, allocations: 3.984 kB / 0.5249 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1559, allocations: 0 / 0.5249 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.1563, allocations: 99.95 kB / 0.525 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1563, allocations: 0 / 0.525 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.1564, allocations: 19.88 kB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1564, allocations: 4 kB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001269/0.1565, allocations: 129.8 kB / 0.5251 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1565, allocations: 15.89 kB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.1566, allocations: 21.31 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1566, allocations: 8.25 kB / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1566, allocations: 0 / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1566, allocations: 4 kB / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1569, allocations: 189.1 kB / 0.5254 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1569, allocations: 0 / 0.5254 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1572, allocations: 99.88 kB / 0.5255 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1572, allocations: 0 / 0.5255 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1572, allocations: 15.94 kB / 0.5255 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1572, allocations: 0 / 0.5255 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1572, allocations: 3.984 kB / 0.5255 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1576, allocations: 271.4 kB / 0.5257 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.1576, allocations: 11.89 kB / 0.5258 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1577, allocations: 11.88 kB / 0.5258 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.1578, allocations: 8 kB / 0.5258 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.1578, allocations: 15.95 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1578, allocations: 12 kB / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.874e-05/0.1579, allocations: 79.28 kB / 0.5259 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1579, allocations: 4 kB / 0.5259 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1581, allocations: 55.78 kB / 0.5259 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0001166/0.1583, allocations: 95.19 kB / 0.526 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1586, allocations: 128.4 kB / 0.5261 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1586, allocations: 0 / 0.5261 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1587, allocations: 71.84 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1589, allocations: 15.94 kB / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.1598, allocations: 0.495 MB / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.1599, allocations: 120.8 kB / 0.5268 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.16, allocations: 23.38 kB / 0.5269 GB, free: 12.65 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.16, allocations: 0 / 0.5269 GB, free: 12.65 MB / 414.1 MB Notification: Performance of Templates: time 0.003958/0.1639, allocations: 1.819 MB / 0.5286 GB, free: 10.83 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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: 7.925683923065662]