Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001547/0.001547, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001649/0.001649, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.422/1.422, allocations: 230.3 MB / 255.2 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.227/0.227, allocations: 46.92 MB / 358.2 MB, free: 10.4 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 83.86 kB / 0.4925 GB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1412, allocations: 65.99 MB / 0.557 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003817/0.145, allocations: 2.132 MB / 0.5591 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1474, allocations: 1.394 MB / 0.5604 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1475, allocations: 0 / 0.5604 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.286e-05/0.1476, allocations: 27.67 kB / 0.5604 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1477, allocations: 31.66 kB / 0.5605 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.1483, allocations: 199.2 kB / 0.5607 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1485, allocations: 176.1 kB / 0.5608 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.1488, allocations: 87.33 kB / 0.5609 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1489, allocations: 87.66 kB / 0.561 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1491, allocations: 91.53 kB / 0.5611 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1491, allocations: 16 kB / 0.5611 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.1494, allocations: 159.9 kB / 0.5613 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1494, allocations: 39.86 kB / 0.5613 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.887e-05/0.1495, allocations: 91.45 kB / 0.5614 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.15, allocations: 322.5 kB / 0.5617 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.15, allocations: 3.938 kB / 0.5617 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.15, allocations: 0 / 0.5617 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.15, allocations: 4 kB / 0.5617 GB, free: 0.6133 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.000704/0.1507, allocations: 0.5259 MB / 0.5622 GB, free: 36 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1507, allocations: 12.03 kB / 0.5622 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.1517, allocations: 80.73 kB / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.152, allocations: 208.1 kB / 0.5625 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.152, allocations: 24.94 kB / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.152, allocations: 28.31 kB / 0.5625 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.1524, allocations: 201.2 kB / 0.5627 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1524, allocations: 0 / 0.5627 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1524, allocations: 12 kB / 0.5627 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1524, allocations: 8 kB / 0.5628 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1527, allocations: 146.2 kB / 0.5629 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.1537, allocations: 0.5891 MB / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1542, allocations: 211.4 kB / 0.5637 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1544, allocations: 65.23 kB / 0.5637 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1544, allocations: 8.172 kB / 0.5637 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1544, allocations: 30.8 kB / 0.5638 GB, free: 14.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.1544, allocations: 4 kB / 0.5638 GB, free: 14.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004849/0.1549, allocations: 218 kB / 0.564 GB, free: 14.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.155, allocations: 59.41 kB / 0.564 GB, free: 14.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1551, allocations: 105.8 kB / 0.5641 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1551, allocations: 29.7 kB / 0.5642 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1552, allocations: 132.7 kB / 0.5643 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.1553, allocations: 99.16 kB / 0.5644 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.1553, allocations: 37.72 kB / 0.5644 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1555, allocations: 322.8 kB / 0.5647 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1556, allocations: 47.91 kB / 0.5648 GB, free: 13.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.1557, allocations: 52.89 kB / 0.5648 GB, free: 13.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1559, allocations: 113.3 kB / 0.5649 GB, free: 13.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1559, allocations: 0 / 0.5649 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002837/0.1562, allocations: 169.5 kB / 0.5651 GB, free: 12.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1562, allocations: 4 kB / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1562, allocations: 0 / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1562, allocations: 0 / 0.5651 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.1566, allocations: 107.9 kB / 0.5652 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1566, allocations: 4.25 kB / 0.5652 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.1567, allocations: 19.88 kB / 0.5652 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1567, allocations: 8 kB / 0.5652 GB, free: 12.76 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.0001315/0.1569, allocations: 133.8 kB / 0.5654 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.1569, allocations: 15.84 kB / 0.5654 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.157, allocations: 29.47 kB / 0.5654 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.157, allocations: 4 kB / 0.5654 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.157, allocations: 0 / 0.5654 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.157, allocations: 0 / 0.5654 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.1573, allocations: 273.4 kB / 0.5657 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1573, allocations: 3.938 kB / 0.5657 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.1577, allocations: 103.9 kB / 0.5658 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1577, allocations: 4 kB / 0.5658 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1577, allocations: 3.938 kB / 0.5658 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1577, allocations: 4 kB / 0.5658 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1577, allocations: 0 / 0.5658 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.1581, allocations: 275.6 kB / 0.5661 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.1581, allocations: 96.89 kB / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1581, allocations: 4 kB / 0.5661 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.1582, allocations: 8 kB / 0.5662 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1583, allocations: 19.97 kB / 0.5662 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1583, allocations: 4 kB / 0.5662 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.1584, allocations: 83.28 kB / 0.5663 GB, free: 11.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1584, allocations: 4 kB / 0.5663 GB, free: 11.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1586, allocations: 43.89 kB / 0.5663 GB, free: 11.57 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.0001239/0.1588, allocations: 99.19 kB / 0.5664 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1591, allocations: 123.9 kB / 0.5665 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1591, allocations: 0 / 0.5665 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1592, allocations: 79.83 kB / 0.5666 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1594, allocations: 11.94 kB / 0.5666 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.1603, allocations: 0.4973 MB / 0.5671 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.1608, allocations: 0.7318 MB / 0.5678 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.1608, allocations: 23.42 kB / 0.5678 GB, free: 9.941 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1608, allocations: 4 kB / 0.5678 GB, free: 9.938 MB / 430.1 MB Notification: Performance of Templates: time 0.003695/0.1645, allocations: 1.778 MB / 0.5696 GB, free: 8.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.341288131006877]