Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009648/0.0009647, allocations: 100.5 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3457/0.3457, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001787, allocations: 59.91 kB / 465.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3249, allocations: 62.02 MB / 0.5151 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002755/0.3277, allocations: 2.173 MB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3292, allocations: 1.364 MB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.3293, allocations: 2.844 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.3294, allocations: 11.34 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.3295, allocations: 30.05 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.3298, allocations: 153.7 kB / 0.5188 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.33, allocations: 168.8 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.3301, allocations: 99.53 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3303, allocations: 79.59 kB / 0.5191 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.3304, allocations: 87.22 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3304, allocations: 11 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.3306, allocations: 147.6 kB / 0.5194 GB, free: 35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3307, allocations: 42.33 kB / 0.5194 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.3307, allocations: 85.31 kB / 0.5195 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.331, allocations: 303.1 kB / 0.5198 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.331, allocations: 6.875 kB / 0.5198 GB, free: 34.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.331, allocations: 3.938 kB / 0.5198 GB, free: 34.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.331, allocations: 0 / 0.5198 GB, free: 34.78 MB / 378.7 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.0005029/0.3316, allocations: 0.5139 MB / 0.5203 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3316, allocations: 8.156 kB / 0.5203 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.3324, allocations: 85.27 kB / 0.5204 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.3325, allocations: 185.7 kB / 0.5205 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3326, allocations: 19.88 kB / 0.5206 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.3326, allocations: 25.66 kB / 0.5206 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.3329, allocations: 206.5 kB / 0.5208 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3329, allocations: 0 / 0.5208 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3329, allocations: 11 kB / 0.5208 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3329, allocations: 6.594 kB / 0.5208 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.3332, allocations: 146.8 kB / 0.5209 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.3339, allocations: 0.5949 MB / 0.5215 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.3343, allocations: 232.8 kB / 0.5217 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3345, allocations: 66.14 kB / 0.5218 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3345, allocations: 10.98 kB / 0.5218 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3345, allocations: 37.61 kB / 0.5219 GB, free: 33.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.3345, allocations: 0 / 0.5219 GB, free: 33.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003706/0.3349, allocations: 213.8 kB / 0.5221 GB, free: 33.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.3349, allocations: 54.47 kB / 0.5221 GB, free: 33.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.335, allocations: 109 kB / 0.5222 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.335, allocations: 29.7 kB / 0.5222 GB, free: 33.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.3351, allocations: 138.5 kB / 0.5224 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.3351, allocations: 91.12 kB / 0.5225 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3352, allocations: 38.84 kB / 0.5225 GB, free: 32.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.3352, allocations: 320.2 kB / 0.5228 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.3353, allocations: 47.73 kB / 0.5228 GB, free: 32.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.3354, allocations: 46.91 kB / 0.5229 GB, free: 32.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3356, allocations: 111.2 kB / 0.523 GB, free: 32.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3356, allocations: 0 / 0.523 GB, free: 32.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002191/0.3358, allocations: 176.1 kB / 0.5232 GB, free: 32.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3358, allocations: 5.438 kB / 0.5232 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3358, allocations: 0 / 0.5232 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3359, allocations: 2.562 kB / 0.5232 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.3362, allocations: 100 kB / 0.5233 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3362, allocations: 0 / 0.5233 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.3363, allocations: 25.06 kB / 0.5233 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3363, allocations: 5.281 kB / 0.5233 GB, free: 32.34 MB / 378.7 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.383e-05/0.3364, allocations: 123.3 kB / 0.5234 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3364, allocations: 17.41 kB / 0.5234 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.3365, allocations: 24.27 kB / 0.5235 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.3365, allocations: 9.406 kB / 0.5235 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3365, allocations: 0 / 0.5235 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3365, allocations: 0 / 0.5235 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3367, allocations: 271.3 kB / 0.5237 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3367, allocations: 11.27 kB / 0.5237 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.337, allocations: 101.8 kB / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3371, allocations: 6.766 kB / 0.5238 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3371, allocations: 4 kB / 0.5238 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3371, allocations: 2.969 kB / 0.5238 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3371, allocations: 0 / 0.5238 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.3375, allocations: 0.8811 MB / 0.5247 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.3376, allocations: 87.67 kB / 0.5248 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3376, allocations: 6.875 kB / 0.5248 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.3377, allocations: 6.594 kB / 0.5248 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3377, allocations: 18.59 kB / 0.5248 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.3378, allocations: 10.91 kB / 0.5248 GB, free: 31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.255e-05/0.3378, allocations: 80.91 kB / 0.5249 GB, free: 30.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3378, allocations: 0 / 0.5249 GB, free: 30.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.3381, allocations: 62.64 kB / 0.525 GB, free: 30.89 MB / 378.7 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.611e-05/0.3382, allocations: 93.66 kB / 0.5251 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3384, allocations: 131.8 kB / 0.5252 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3384, allocations: 0 / 0.5252 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.3385, allocations: 85.19 kB / 0.5253 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3388, allocations: 13.69 kB / 0.5253 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.3394, allocations: 0.7118 MB / 0.526 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.3396, allocations: 0.734 MB / 0.5267 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3397, allocations: 16.41 kB / 0.5267 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.3397, allocations: 19.47 kB / 0.5267 GB, free: 29.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3397, allocations: 0 / 0.5267 GB, free: 29.51 MB / 378.7 MB Notification: Performance of Templates: time 0.002863/0.3426, allocations: 0.9071 MB / 0.5276 GB, free: 29.4 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches