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.001306/0.001306, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001488/0.001488, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2316/0.2316, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.001947/0.001947, allocations: 63.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 66.04 MB / 0.5618 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003544/0.357, allocations: 2.042 MB / 0.5638 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3593, allocations: 1.274 MB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3594, allocations: 4 kB / 0.5651 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.3595, allocations: 23.72 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3597, allocations: 35.66 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.3602, allocations: 195.3 kB / 0.5653 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3604, allocations: 180.1 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3606, allocations: 95.88 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3608, allocations: 87.64 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3609, allocations: 91.48 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3609, allocations: 16 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.3612, allocations: 151.9 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.3612, allocations: 43.83 kB / 0.566 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3613, allocations: 79.56 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.3617, allocations: 321.2 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3617, allocations: 0 / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3617, allocations: 8 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3617, allocations: 0 / 0.5663 GB, free: 15.64 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.0006069/0.3624, allocations: 461.5 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3624, allocations: 8.031 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.3633, allocations: 80.73 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3636, allocations: 158.2 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3636, allocations: 21.03 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.3636, allocations: 28.38 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.364, allocations: 206.4 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.364, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.364, allocations: 12 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.3641, allocations: 4 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.3643, allocations: 142.5 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.3651, allocations: 476.8 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.3656, allocations: 215.8 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3658, allocations: 61.3 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3658, allocations: 240 / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3658, allocations: 46.73 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.022e-06/0.3658, allocations: 0 / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004475/0.3663, allocations: 223.7 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3663, allocations: 55.41 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.3664, allocations: 105.8 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3664, allocations: 29.7 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.3665, allocations: 136.7 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.3666, allocations: 95.17 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.3667, allocations: 37.7 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3668, allocations: 322.8 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.3669, allocations: 43.98 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.367, allocations: 53.83 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3672, allocations: 109.3 kB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3672, allocations: 0 / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002829/0.3675, allocations: 169.8 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3675, allocations: 11.92 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3675, allocations: 0 / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3675, allocations: 4 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.3679, allocations: 99.95 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.3679, allocations: 4 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.3679, allocations: 19.88 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.368, allocations: 4 kB / 0.5696 GB, free: 12.09 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.000125/0.3681, allocations: 133.7 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3681, allocations: 19.83 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.3682, allocations: 25.62 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3682, allocations: 4 kB / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3682, allocations: 0 / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3682, allocations: 3.984 kB / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3684, allocations: 185.2 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3684, allocations: 0 / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.3688, allocations: 99.88 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3688, allocations: 4 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3688, allocations: 7.938 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3688, allocations: 4 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3688, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.3692, allocations: 275.6 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3692, allocations: 19.84 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3692, allocations: 7.938 kB / 0.5704 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.3693, allocations: 15.92 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3693, allocations: 11.97 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3693, allocations: 8 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.3694, allocations: 83.28 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3694, allocations: 0 / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3696, allocations: 47.89 kB / 0.5705 GB, free: 11.1 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.0001052/0.3697, allocations: 99.19 kB / 0.5706 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.37, allocations: 119.9 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.37, allocations: 0 / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3702, allocations: 75.83 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.3704, allocations: 14.81 kB / 0.5708 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.3711, allocations: 481.7 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3713, allocations: 128.6 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.819e-05/0.3714, allocations: 17.41 kB / 0.5714 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.3714, allocations: 15.44 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3714, allocations: 0 / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003596/0.375, allocations: 1.038 MB / 0.5725 GB, free: 9.082 MB / 414.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 -s cvode -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: 5.000165069010109]