Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001331, allocations: 117.1 kB / 19.12 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 210.6 kB / 22.08 MB, free: 0.9922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 85.59 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1377, allocations: 62.44 MB / 0.5404 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003789/0.1415, allocations: 2.116 MB / 0.5424 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1438, allocations: 1.375 MB / 0.5438 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.144, allocations: 11.88 kB / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.71e-05/0.1441, allocations: 19.73 kB / 0.5438 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1442, allocations: 35.66 kB / 0.5438 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.1447, allocations: 191.2 kB / 0.544 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.145, allocations: 180.1 kB / 0.5442 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.1452, allocations: 107.3 kB / 0.5443 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1454, allocations: 87.64 kB / 0.5444 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1456, allocations: 91.56 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.1456, allocations: 16 kB / 0.5445 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.1459, allocations: 151.9 kB / 0.5446 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1459, allocations: 47.75 kB / 0.5447 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.146, allocations: 91.42 kB / 0.5448 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.1465, allocations: 322.5 kB / 0.5451 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1465, allocations: 0 / 0.5451 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1465, allocations: 0 / 0.5451 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1465, allocations: 0 / 0.5451 GB, free: 15.38 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.0006937/0.1472, allocations: 0.5327 MB / 0.5456 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1473, allocations: 12.03 kB / 0.5456 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.1482, allocations: 80.73 kB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1485, allocations: 212.1 kB / 0.5459 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1485, allocations: 16.94 kB / 0.5459 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1486, allocations: 28.38 kB / 0.5459 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.149, allocations: 205.2 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.149, allocations: 4 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.149, allocations: 12 kB / 0.5461 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.149, allocations: 4 kB / 0.5461 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.1493, allocations: 146.2 kB / 0.5463 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008834/0.1502, allocations: 0.589 MB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.1507, allocations: 231.4 kB / 0.5471 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1509, allocations: 65.3 kB / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1509, allocations: 8.172 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.151, allocations: 42.78 kB / 0.5472 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.216e-05/0.151, allocations: 3.984 kB / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.000476/0.1515, allocations: 221.7 kB / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1515, allocations: 55.41 kB / 0.5474 GB, free: 12.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.1516, allocations: 109.8 kB / 0.5475 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1517, allocations: 25.7 kB / 0.5476 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.1518, allocations: 140.7 kB / 0.5477 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.1518, allocations: 91.23 kB / 0.5478 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.1519, allocations: 41.7 kB / 0.5478 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1521, allocations: 322.8 kB / 0.5481 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.1522, allocations: 35.98 kB / 0.5482 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.1523, allocations: 52.83 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1525, allocations: 117.3 kB / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1525, allocations: 3.984 kB / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002791/0.1528, allocations: 169.5 kB / 0.5485 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1529, allocations: 8 kB / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1529, allocations: 0 / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1529, allocations: 3.938 kB / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.1532, allocations: 91.95 kB / 0.5486 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1533, allocations: 0 / 0.5486 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.1533, allocations: 23.88 kB / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1534, allocations: 12 kB / 0.5486 GB, free: 11.49 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.0001086/0.1535, allocations: 121.8 kB / 0.5488 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1535, allocations: 19.84 kB / 0.5488 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.1536, allocations: 25.53 kB / 0.5488 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1536, allocations: 4 kB / 0.5488 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1536, allocations: 0 / 0.5488 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1536, allocations: 3.984 kB / 0.5488 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1539, allocations: 269.5 kB / 0.5491 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1539, allocations: 4.188 kB / 0.5491 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.1543, allocations: 103.9 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1543, allocations: 4 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1543, allocations: 4 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1543, allocations: 0 / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1543, allocations: 0 / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1547, allocations: 279.6 kB / 0.5494 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.1547, allocations: 96.89 kB / 0.5495 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1548, allocations: 4 kB / 0.5495 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.1549, allocations: 15.92 kB / 0.5496 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1549, allocations: 15.92 kB / 0.5496 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1549, allocations: 8 kB / 0.5496 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.155, allocations: 83.27 kB / 0.5497 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.155, allocations: 4 kB / 0.5497 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1553, allocations: 51.83 kB / 0.5497 GB, free: 10.3 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.0001537/0.1555, allocations: 95.25 kB / 0.5498 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1559, allocations: 123.9 kB / 0.5499 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1559, allocations: 0 / 0.5499 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.156, allocations: 87.81 kB / 0.55 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1563, allocations: 19.88 kB / 0.55 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.1571, allocations: 493.4 kB / 0.5505 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1575, allocations: 0.7434 MB / 0.5512 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.1576, allocations: 19.44 kB / 0.5512 GB, free: 8.668 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1576, allocations: 0 / 0.5512 GB, free: 8.668 MB / 414.1 MB Notification: Performance of Templates: time 0.003723/0.1613, allocations: 1.77 MB / 0.553 GB, free: 6.898 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.633842893061228]