Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001246/0.001246, allocations: 115 kB / 18.46 MB, free: 4.621 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.001323/0.001323, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2407/0.2407, allocations: 46.93 MB / 357.8 MB, free: 10.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 67.91 kB / 0.4921 GB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1354, allocations: 65.99 MB / 0.5565 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003757/0.1392, allocations: 2.134 MB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1417, allocations: 1.383 MB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1419, allocations: 4 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.626e-05/0.142, allocations: 27.66 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1422, allocations: 35.66 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.1429, allocations: 195.3 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.1432, allocations: 184 kB / 0.5604 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.1434, allocations: 89.52 kB / 0.5605 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1436, allocations: 87.64 kB / 0.5606 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1437, allocations: 91.53 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1437, allocations: 16 kB / 0.5607 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.1441, allocations: 151.9 kB / 0.5608 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.1441, allocations: 47.8 kB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.1442, allocations: 95.45 kB / 0.5609 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.1447, allocations: 318.6 kB / 0.5612 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1447, allocations: 0 / 0.5612 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1447, allocations: 0 / 0.5612 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1447, allocations: 0 / 0.5612 GB, free: 0.5156 MB / 414.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.000815/0.1456, allocations: 0.5259 MB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1456, allocations: 12.03 kB / 0.5618 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.1466, allocations: 72.75 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1469, allocations: 220 kB / 0.5621 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1469, allocations: 16.94 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.1469, allocations: 32.38 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.1473, allocations: 197.2 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1474, allocations: 0 / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1474, allocations: 15.98 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1474, allocations: 8 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.1477, allocations: 154 kB / 0.5625 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.1486, allocations: 0.5852 MB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.1492, allocations: 209.8 kB / 0.5632 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1493, allocations: 65.28 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1493, allocations: 8.172 kB / 0.5633 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1494, allocations: 38.8 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.1494, allocations: 0 / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005861/0.15, allocations: 220.7 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.15, allocations: 59.41 kB / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.1501, allocations: 105.8 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1501, allocations: 25.7 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.1502, allocations: 136.7 kB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.1503, allocations: 99.16 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.1504, allocations: 37.72 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1505, allocations: 326.8 kB / 0.5643 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1507, allocations: 39.97 kB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1508, allocations: 52.89 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.151, allocations: 113.3 kB / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.151, allocations: 0 / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002963/0.1513, allocations: 173.5 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1513, allocations: 11.94 kB / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1513, allocations: 0 / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1513, allocations: 0 / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.1517, allocations: 99.88 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1517, allocations: 0 / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.1518, allocations: 15.89 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1518, allocations: 16.25 kB / 0.5648 GB, free: 12.65 MB / 430.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.0001163/0.1519, allocations: 117.8 kB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.152, allocations: 23.83 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/0.1521, allocations: 25.53 kB / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1521, allocations: 4 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.1521, allocations: 4 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1521, allocations: 0 / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1524, allocations: 269.4 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1524, allocations: 3.938 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.1528, allocations: 103.9 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1528, allocations: 7.938 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1528, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1528, allocations: 0 / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1528, allocations: 0 / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1532, allocations: 283.6 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.1533, allocations: 96.89 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1533, allocations: 4 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.1534, allocations: 8 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1535, allocations: 15.97 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1535, allocations: 8 kB / 0.5657 GB, free: 11.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.77e-05/0.1535, allocations: 79.28 kB / 0.5658 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1535, allocations: 0 / 0.5658 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1538, allocations: 51.89 kB / 0.5659 GB, free: 11.47 MB / 430.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.0001302/0.1539, allocations: 99.19 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1543, allocations: 123.9 kB / 0.5661 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1543, allocations: 0 / 0.5661 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1544, allocations: 71.89 kB / 0.5661 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1546, allocations: 15.94 kB / 0.5662 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.1556, allocations: 0.4934 MB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1561, allocations: 0.7357 MB / 0.5674 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.1561, allocations: 23.38 kB / 0.5674 GB, free: 9.844 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1561, allocations: 0 / 0.5674 GB, free: 9.844 MB / 430.1 MB Notification: Performance of Templates: time 0.004352/0.1605, allocations: 1.772 MB / 0.5691 GB, free: 8.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.460618982004235]