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.00126/0.00126, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001373/0.001373, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.226/0.226, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.002055/0.002055, allocations: 67.89 kB / 0.4973 GB, free: 7.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 66.01 MB / 0.5618 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00299/0.3348, allocations: 2.047 MB / 0.5638 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3367, allocations: 1.266 MB / 0.565 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3368, allocations: 3.25 kB / 0.5651 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.3368, allocations: 29.45 kB / 0.5651 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.337, allocations: 34.72 kB / 0.5651 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.3374, allocations: 207.4 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3376, allocations: 177 kB / 0.5655 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.3378, allocations: 86.59 kB / 0.5656 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3379, allocations: 87.8 kB / 0.5656 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.338, allocations: 91.72 kB / 0.5657 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3381, allocations: 15.25 kB / 0.5657 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.3383, allocations: 152.5 kB / 0.5659 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.3383, allocations: 47.23 kB / 0.5659 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.3384, allocations: 78.08 kB / 0.566 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.3388, allocations: 325.7 kB / 0.5663 GB, free: 30.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3388, allocations: 0.5312 kB / 0.5663 GB, free: 30.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3388, allocations: 2 kB / 0.5663 GB, free: 30.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3388, allocations: 0 / 0.5663 GB, free: 30.8 MB / 446.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.000526/0.3393, allocations: 462.4 kB / 0.5668 GB, free: 30.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3393, allocations: 9.531 kB / 0.5668 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.3403, allocations: 79.36 kB / 0.5669 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3405, allocations: 154.2 kB / 0.567 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3405, allocations: 19.09 kB / 0.567 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3405, allocations: 27.16 kB / 0.567 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.3409, allocations: 208.4 kB / 0.5672 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3409, allocations: 5.391 kB / 0.5672 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.3409, allocations: 11 kB / 0.5673 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3409, allocations: 6.625 kB / 0.5673 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.3412, allocations: 143.1 kB / 0.5674 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.3418, allocations: 480.3 kB / 0.5679 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.3423, allocations: 214.7 kB / 0.5681 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3424, allocations: 59.5 kB / 0.5681 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3424, allocations: 4.547 kB / 0.5681 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3424, allocations: 41.7 kB / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/0.3424, allocations: 0 / 0.5682 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004093/0.3428, allocations: 221.8 kB / 0.5684 GB, free: 29.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.3429, allocations: 54.41 kB / 0.5684 GB, free: 29.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.3429, allocations: 106.7 kB / 0.5685 GB, free: 29.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.343, allocations: 29.7 kB / 0.5686 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.343, allocations: 142.1 kB / 0.5687 GB, free: 29.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.3431, allocations: 94.17 kB / 0.5688 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3431, allocations: 39.94 kB / 0.5688 GB, free: 29.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.3432, allocations: 328.3 kB / 0.5691 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.3432, allocations: 36.91 kB / 0.5692 GB, free: 28.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.3433, allocations: 49.97 kB / 0.5692 GB, free: 28.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3435, allocations: 121.9 kB / 0.5693 GB, free: 28.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3435, allocations: 0 / 0.5693 GB, free: 28.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002317/0.3437, allocations: 167.1 kB / 0.5695 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3437, allocations: 11.81 kB / 0.5695 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3437, allocations: 0 / 0.5695 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3438, allocations: 0 / 0.5695 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.3441, allocations: 104.2 kB / 0.5696 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3441, allocations: 0 / 0.5696 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.3442, allocations: 17.86 kB / 0.5696 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3442, allocations: 3.062 kB / 0.5696 GB, free: 28.6 MB / 446.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 7.534e-05/0.3443, allocations: 126.8 kB / 0.5697 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3443, allocations: 21.81 kB / 0.5698 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.3443, allocations: 28.73 kB / 0.5698 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3443, allocations: 3 kB / 0.5698 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3444, allocations: 0 / 0.5698 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3444, allocations: 0 / 0.5698 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3445, allocations: 189.6 kB / 0.57 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3445, allocations: 4 kB / 0.57 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.3449, allocations: 93.66 kB / 0.5701 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3449, allocations: 6.516 kB / 0.5701 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3449, allocations: 11.88 kB / 0.5701 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3449, allocations: 2.969 kB / 0.5701 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3449, allocations: 0.7969 kB / 0.5701 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3452, allocations: 277 kB / 0.5704 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.3452, allocations: 15.64 kB / 0.5704 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3452, allocations: 12.25 kB / 0.5704 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3453, allocations: 7.688 kB / 0.5704 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.3453, allocations: 22.06 kB / 0.5704 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.3454, allocations: 3 kB / 0.5704 GB, free: 28.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.3454, allocations: 86.98 kB / 0.5705 GB, free: 27.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3454, allocations: 0 / 0.5705 GB, free: 27.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3456, allocations: 42.3 kB / 0.5705 GB, free: 27.95 MB / 446.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 7.686e-05/0.3457, allocations: 100.1 kB / 0.5706 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.346, allocations: 122.7 kB / 0.5707 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.346, allocations: 3.625 kB / 0.5707 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3461, allocations: 72.92 kB / 0.5708 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3464, allocations: 13.91 kB / 0.5708 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.3471, allocations: 484.8 kB / 0.5713 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3472, allocations: 123.5 kB / 0.5714 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.502e-05/0.3473, allocations: 22.83 kB / 0.5714 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.3473, allocations: 16.78 kB / 0.5715 GB, free: 27.41 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3473, allocations: 0 / 0.5715 GB, free: 27.41 MB / 446.1 MB Notification: Performance of Templates: time 0.004148/0.3515, allocations: 1.03 MB / 0.5725 GB, free: 27.24 MB / 446.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 gbode -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: 4.969471511998563]