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.001955/0.001955, 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.002481/0.002481, allocations: 215 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.734/1.734, 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.2549/0.2549, allocations: 44.27 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.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.00228/0.00228, allocations: 87.83 kB / 468 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1385, allocations: 61.03 MB / 0.5167 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003819/0.1423, allocations: 2.014 MB / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1447, allocations: 1.208 MB / 0.5198 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.1447, allocations: 4 kB / 0.5198 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.782e-05/0.1448, allocations: 27.66 kB / 0.5198 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.145, allocations: 43.66 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.1455, allocations: 175.3 kB / 0.52 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1457, allocations: 184 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1459, allocations: 80.08 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1461, allocations: 75.66 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1462, allocations: 79.55 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.1463, allocations: 16 kB / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.1465, allocations: 151.9 kB / 0.5206 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1466, allocations: 39.84 kB / 0.5206 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.23e-05/0.1467, allocations: 87.52 kB / 0.5207 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.1471, allocations: 314.6 kB / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1471, allocations: 0 / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1471, allocations: 0 / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1471, allocations: 0 / 0.521 GB, free: 2.148 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.0006519/0.1478, allocations: 457.6 kB / 0.5215 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1478, allocations: 12.03 kB / 0.5215 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.1487, allocations: 68.75 kB / 0.5215 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1488, allocations: 134.2 kB / 0.5217 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1488, allocations: 21.03 kB / 0.5217 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.1489, allocations: 24.38 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.1492, allocations: 202.4 kB / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1493, allocations: 0 / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.1493, allocations: 12 kB / 0.5219 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1493, allocations: 4 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.1496, allocations: 158.4 kB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.1504, allocations: 476.8 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.1509, allocations: 227.7 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.1511, allocations: 61.3 kB / 0.5228 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1511, allocations: 240 / 0.5228 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1511, allocations: 42.73 kB / 0.5228 GB, free: 184 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.152e-06/0.1511, allocations: 0 / 0.5228 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004858/0.1516, allocations: 218.3 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1517, allocations: 51.41 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1518, allocations: 102 kB / 0.5232 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1518, allocations: 33.7 kB / 0.5232 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.1519, allocations: 136.7 kB / 0.5234 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.152, allocations: 95.12 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.1521, allocations: 41.7 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1522, allocations: 318.8 kB / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1523, allocations: 47.97 kB / 0.5238 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.1524, allocations: 44.05 kB / 0.5239 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1526, allocations: 126.2 kB / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1527, allocations: 0 / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000288/0.1529, allocations: 169.5 kB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.153, allocations: 7.938 kB / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.153, allocations: 0 / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.153, allocations: 4 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.1534, allocations: 99.94 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1534, allocations: 0 / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.1534, allocations: 15.89 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1534, allocations: 8 kB / 0.5243 GB, free: 14.63 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.0001247/0.1536, allocations: 129.8 kB / 0.5244 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.1536, allocations: 15.83 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.1537, allocations: 25.31 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1537, allocations: 0 / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1537, allocations: 0 / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1537, allocations: 7.984 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.1539, allocations: 185.1 kB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1539, allocations: 0 / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.1543, allocations: 103.8 kB / 0.5247 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1543, allocations: 0 / 0.5247 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.1543, allocations: 11.94 kB / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1543, allocations: 0 / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1543, allocations: 0 / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.1547, allocations: 271.4 kB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.1547, allocations: 11.89 kB / 0.525 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1547, allocations: 15.92 kB / 0.525 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.1548, allocations: 8 kB / 0.525 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1549, allocations: 11.97 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.1549, allocations: 8 kB / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.155, allocations: 83.28 kB / 0.5251 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.155, allocations: 4 kB / 0.5251 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1552, allocations: 51.78 kB / 0.5252 GB, free: 13.65 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.0001187/0.1554, allocations: 103.2 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.1556, allocations: 124.4 kB / 0.5254 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1556, allocations: 4 kB / 0.5254 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1558, allocations: 71.84 kB / 0.5255 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.156, allocations: 12 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.1568, allocations: 481.1 kB / 0.526 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1569, allocations: 116.8 kB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.583e-05/0.157, allocations: 21.41 kB / 0.5261 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1571, allocations: 15.44 kB / 0.5261 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1571, allocations: 0 / 0.5261 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Templates: time 0.003953/0.161, allocations: 0.946 MB / 0.527 GB, free: 11.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/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: 5.700858447700739]