Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001393/0.001393, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001608/0.001608, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.49/1.49, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2679/0.2679, allocations: 44.95 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 71.89 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 65.48 MB / 0.5582 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00362/0.3407, allocations: 2.031 MB / 0.5602 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.3433, allocations: 1.27 MB / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3434, allocations: 4 kB / 0.5614 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.031e-05/0.3435, allocations: 27.66 kB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3436, allocations: 39.59 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.3442, allocations: 191.3 kB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.3445, allocations: 176.1 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.3447, allocations: 87.88 kB / 0.5619 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3449, allocations: 87.64 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.345, allocations: 79.55 kB / 0.5621 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.345, allocations: 12 kB / 0.5621 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.3453, allocations: 147.9 kB / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.3454, allocations: 51.77 kB / 0.5623 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.3454, allocations: 75.59 kB / 0.5624 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.346, allocations: 321 kB / 0.5627 GB, free: 2.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.346, allocations: 0 / 0.5627 GB, free: 2.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.346, allocations: 0 / 0.5627 GB, free: 2.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.346, allocations: 4 kB / 0.5627 GB, free: 2.734 MB / 398.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.0006398/0.3466, allocations: 469.5 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3467, allocations: 11.97 kB / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009566/0.3476, allocations: 76.73 kB / 0.5632 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3479, allocations: 154.2 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.348, allocations: 21.03 kB / 0.5634 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.348, allocations: 28.38 kB / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.3484, allocations: 210.4 kB / 0.5636 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3484, allocations: 4 kB / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3484, allocations: 8 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3484, allocations: 8 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.3487, allocations: 150.5 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.3495, allocations: 476.8 kB / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.3501, allocations: 207.8 kB / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3502, allocations: 61.31 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3502, allocations: 4.234 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3503, allocations: 46.72 kB / 0.5645 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.3503, allocations: 3.938 kB / 0.5645 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004711/0.3507, allocations: 210.9 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3508, allocations: 55.41 kB / 0.5648 GB, free: 456 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.3509, allocations: 105.8 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3509, allocations: 29.7 kB / 0.5649 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.351, allocations: 136.7 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.3511, allocations: 91.17 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.3511, allocations: 49.69 kB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3513, allocations: 318.9 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.3514, allocations: 47.98 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3515, allocations: 41.84 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.3519, allocations: 125.2 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3519, allocations: 0 / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003476/0.3522, allocations: 161.6 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3523, allocations: 11.94 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3523, allocations: 0 / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3523, allocations: 0 / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.3526, allocations: 99.89 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3527, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.3527, allocations: 19.88 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3527, allocations: 8 kB / 0.566 GB, free: 15.18 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.0001183/0.3529, allocations: 125.8 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.3529, allocations: 23.84 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.353, allocations: 25.61 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.353, allocations: 8 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.353, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.353, allocations: 7.922 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3533, allocations: 181.1 kB / 0.5663 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3533, allocations: 3.984 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.3536, allocations: 95.95 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3536, allocations: 7.938 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3536, allocations: 11.94 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3536, allocations: 4.188 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3536, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.354, allocations: 275.7 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.354, allocations: 15.84 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.354, allocations: 7.938 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3542, allocations: 7.984 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3542, allocations: 19.97 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3542, allocations: 4 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.3543, allocations: 87.28 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3543, allocations: 0 / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3546, allocations: 47.89 kB / 0.5669 GB, free: 14.18 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.0001203/0.3547, allocations: 103.2 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.355, allocations: 123.9 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.355, allocations: 0 / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3551, allocations: 67.91 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3554, allocations: 18.44 kB / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.3562, allocations: 0.4994 MB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3563, allocations: 128.6 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.3564, allocations: 19.42 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3564, allocations: 4 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of Templates: time 0.003816/0.3602, allocations: 1.846 MB / 0.5696 GB, free: 11.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.557798494119197]