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.001436/0.001436, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001545/0.001545, allocations: 213.3 kB / 23.75 MB, free: 4.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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2562/0.2562, allocations: 46.93 MB / 360.9 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] 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.002119/0.002119, allocations: 75.88 kB / 0.4967 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4108, allocations: 66.03 MB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.005602/0.4164, allocations: 2.14 MB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.4194, allocations: 1.406 MB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.4196, allocations: 4 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.4197, allocations: 19.73 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.4199, allocations: 35.66 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006964/0.4205, allocations: 207.2 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.4209, allocations: 180 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.4212, allocations: 87.89 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.4214, allocations: 91.58 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.4217, allocations: 87.55 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.4217, allocations: 16 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.4222, allocations: 151.9 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.4222, allocations: 43.84 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.4224, allocations: 103.4 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007044/0.4231, allocations: 317 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4231, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4231, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4231, allocations: 0 / 0.5659 GB, free: 15.52 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.0008275/0.4239, allocations: 461.5 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4239, allocations: 12.03 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.425, allocations: 80.73 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.4254, allocations: 158.2 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.4254, allocations: 21.03 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.4255, allocations: 24.38 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.4259, allocations: 202.4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4259, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4259, allocations: 15.98 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4259, allocations: 8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.4262, allocations: 150.5 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.4272, allocations: 0.5354 MB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.4278, allocations: 227.3 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.4279, allocations: 61.3 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.4279, allocations: 8.172 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.428, allocations: 38.73 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.428, allocations: 4 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005448/0.4285, allocations: 215.8 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4286, allocations: 55.39 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.4287, allocations: 101.9 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4287, allocations: 33.7 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4288, allocations: 136.7 kB / 0.5683 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.4289, allocations: 95.16 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.429, allocations: 41.7 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4291, allocations: 326.8 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4292, allocations: 47.91 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.4293, allocations: 45.84 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.4295, allocations: 121.3 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4295, allocations: 0 / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002935/0.4298, allocations: 165.5 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4299, allocations: 8 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4299, allocations: 4 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4299, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.4303, allocations: 99.94 kB / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4303, allocations: 0 / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.4303, allocations: 15.89 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4304, allocations: 7.938 kB / 0.5693 GB, free: 11.88 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.0001558/0.4305, allocations: 129.8 kB / 0.5694 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4306, allocations: 15.84 kB / 0.5694 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.4306, allocations: 25.62 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4306, allocations: 3.984 kB / 0.5694 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4306, allocations: 4 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4307, allocations: 256 / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.431, allocations: 236.5 kB / 0.5697 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.431, allocations: 7.938 kB / 0.5697 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.4314, allocations: 103.9 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.4314, allocations: 7.984 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4314, allocations: 4 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4314, allocations: 0 / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4314, allocations: 7.969 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.4318, allocations: 279.6 kB / 0.5701 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.4318, allocations: 23.72 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.4319, allocations: 7.984 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.432, allocations: 8 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.432, allocations: 11.97 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.432, allocations: 12 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.453e-05/0.4321, allocations: 79.28 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4321, allocations: 0 / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.4325, allocations: 47.89 kB / 0.5703 GB, free: 10.81 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.0001329/0.4326, allocations: 107.2 kB / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.4329, allocations: 115.9 kB / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4329, allocations: 0 / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.4331, allocations: 71.89 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.4333, allocations: 19.92 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.4342, allocations: 477.8 kB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.4347, allocations: 0.7395 MB / 0.5717 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.4348, allocations: 17.41 kB / 0.5717 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.4348, allocations: 23.42 kB / 0.5718 GB, free: 9.191 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4348, allocations: 0 / 0.5718 GB, free: 9.191 MB / 414.1 MB Notification: Performance of Templates: time 0.004452/0.4393, allocations: 1.058 MB / 0.5728 GB, free: 8.133 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/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.596159094013274]