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.001697/0.001697, allocations: 113.9 kB / 19.18 MB, free: 3.762 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.002048/0.002048, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.503/1.503, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.2341/0.2341, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.002254/0.002254, allocations: 79.81 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 66 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003707/0.1364, allocations: 2.129 MB / 0.5589 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1388, allocations: 1.379 MB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1389, allocations: 4 kB / 0.5603 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.766e-05/0.139, allocations: 27.66 kB / 0.5603 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1392, allocations: 39.64 kB / 0.5603 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.1398, allocations: 203.3 kB / 0.5605 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.14, allocations: 176.1 kB / 0.5607 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1403, allocations: 87.33 kB / 0.5608 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1405, allocations: 83.64 kB / 0.5608 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1406, allocations: 87.55 kB / 0.5609 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.1406, allocations: 16 kB / 0.5609 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.141, allocations: 155.9 kB / 0.5611 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.141, allocations: 47.78 kB / 0.5611 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.1411, allocations: 95.45 kB / 0.5612 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.1416, allocations: 322.5 kB / 0.5615 GB, free: 1.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1416, allocations: 0 / 0.5615 GB, free: 1.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1416, allocations: 0 / 0.5615 GB, free: 1.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1416, allocations: 0 / 0.5615 GB, free: 1.062 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.0006958/0.1423, allocations: 0.5281 MB / 0.562 GB, free: 496 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1423, allocations: 12.03 kB / 0.5621 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.1433, allocations: 76.75 kB / 0.5621 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1436, allocations: 224 kB / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1436, allocations: 16.94 kB / 0.5624 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.1437, allocations: 28.38 kB / 0.5624 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.144, allocations: 197.2 kB / 0.5626 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1441, allocations: 0 / 0.5626 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1441, allocations: 12 kB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1441, allocations: 11.92 kB / 0.5626 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.1444, allocations: 154.2 kB / 0.5627 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.1453, allocations: 0.5812 MB / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.1458, allocations: 211.4 kB / 0.5635 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1459, allocations: 65.3 kB / 0.5636 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.146, allocations: 8.172 kB / 0.5636 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.146, allocations: 30.8 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.146, allocations: 4 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004951/0.1465, allocations: 225.9 kB / 0.5638 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1465, allocations: 55.41 kB / 0.5639 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1466, allocations: 109.8 kB / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1466, allocations: 29.7 kB / 0.564 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.1467, allocations: 132.7 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.1468, allocations: 95.17 kB / 0.5642 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.1469, allocations: 41.7 kB / 0.5643 GB, free: 14.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.147, allocations: 326.8 kB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1471, allocations: 43.97 kB / 0.5646 GB, free: 13.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.1472, allocations: 48.89 kB / 0.5647 GB, free: 13.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1474, allocations: 117.2 kB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1474, allocations: 0 / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002881/0.1477, allocations: 169.5 kB / 0.565 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1477, allocations: 4 kB / 0.565 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1477, allocations: 4 kB / 0.565 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1478, allocations: 0 / 0.565 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.1481, allocations: 103.9 kB / 0.5651 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1481, allocations: 0 / 0.5651 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.1482, allocations: 15.89 kB / 0.5651 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1482, allocations: 8 kB / 0.5651 GB, free: 13.2 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.0001099/0.1483, allocations: 125.8 kB / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.1484, allocations: 27.77 kB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.1484, allocations: 21.53 kB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1484, allocations: 7.938 kB / 0.5653 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1484, allocations: 0 / 0.5653 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1484, allocations: 0 / 0.5653 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.1488, allocations: 265.5 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1488, allocations: 7.938 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1491, allocations: 95.94 kB / 0.5656 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1491, allocations: 4 kB / 0.5656 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1492, allocations: 7.938 kB / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1492, allocations: 0 / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1492, allocations: 4 kB / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.1495, allocations: 279.6 kB / 0.5659 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1496, allocations: 96.89 kB / 0.566 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1496, allocations: 4 kB / 0.566 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.1497, allocations: 8 kB / 0.566 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1497, allocations: 19.97 kB / 0.566 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1497, allocations: 4.25 kB / 0.566 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.1498, allocations: 87.28 kB / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1498, allocations: 0 / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1501, allocations: 43.89 kB / 0.5661 GB, free: 12.02 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.0001127/0.1502, allocations: 103.2 kB / 0.5662 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1505, allocations: 123.9 kB / 0.5664 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1505, allocations: 0 / 0.5664 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1506, allocations: 71.89 kB / 0.5664 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1508, allocations: 15.94 kB / 0.5664 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.1516, allocations: 0.5012 MB / 0.5669 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.152, allocations: 0.7357 MB / 0.5677 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.1521, allocations: 23.44 kB / 0.5677 GB, free: 10.38 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1521, allocations: 0 / 0.5677 GB, free: 10.38 MB / 430.1 MB Notification: Performance of Templates: time 0.003742/0.1558, allocations: 1.768 MB / 0.5694 GB, free: 8.613 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.380463388049975]