Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001129/0.001129, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.0009883/0.0009883, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1427/0.1427, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.155e-05, allocations: 10.25 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002186/0.002207, allocations: 2.075 MB / 349.8 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.003474, allocations: 1.298 MB / 351.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.003565, allocations: 4 kB / 351.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.003619, allocations: 23.67 kB / 351.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003723, allocations: 39.7 kB / 351.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.004102, allocations: 187.1 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.004226, allocations: 188 kB / 351.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004361, allocations: 76.09 kB / 351.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.004476, allocations: 111.8 kB / 351.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.004542, allocations: 67.72 kB / 351.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.004564, allocations: 16 kB / 351.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.004735, allocations: 147.7 kB / 351.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.00476, allocations: 43.83 kB / 351.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.004797, allocations: 63.77 kB / 352 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.005025, allocations: 278.8 kB / 352.3 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005027, allocations: 0 / 352.3 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005027, allocations: 4 kB / 352.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005032, allocations: 0 / 352.3 MB, free: 5.141 MB / 282.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.0003538/0.005386, allocations: 0.5428 MB / 352.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.005418, allocations: 12.03 kB / 352.8 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.005923, allocations: 159.7 kB / 353 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.469e-05/0.005988, allocations: 132.4 kB / 353.1 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.006003, allocations: 21.03 kB / 353.1 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.006021, allocations: 28.38 kB / 353.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.006201, allocations: 175.4 kB / 353.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.006209, allocations: 192 / 353.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.006224, allocations: 12.38 kB / 353.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.006233, allocations: 11.94 kB / 353.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.006344, allocations: 95.84 kB / 353.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.006849, allocations: 0.539 MB / 354 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.007121, allocations: 184.3 kB / 354.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.007176, allocations: 56.12 kB / 354.2 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.007194, allocations: 4.234 kB / 354.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.007208, allocations: 34.09 kB / 354.3 MB, free: 3.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.002e-06/0.007209, allocations: 0 / 354.3 MB, free: 3.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002275/0.007437, allocations: 195.5 kB / 354.5 MB, free: 2.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.007456, allocations: 55.41 kB / 354.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.007498, allocations: 161.9 kB / 354.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.475e-06/0.007506, allocations: 33.7 kB / 354.7 MB, free: 2.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.007537, allocations: 183.4 kB / 354.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.007571, allocations: 87.17 kB / 355 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.007608, allocations: 51.36 kB / 355 MB, free: 2.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.007648, allocations: 0.4923 MB / 355.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.007681, allocations: 23.98 kB / 355.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.007715, allocations: 36.19 kB / 355.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.007799, allocations: 83.67 kB / 355.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0078, allocations: 8 kB / 355.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001182/0.007919, allocations: 154 kB / 355.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007929, allocations: 7.938 kB / 355.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.007933, allocations: 0 / 355.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007944, allocations: 7.938 kB / 355.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.008117, allocations: 87.95 kB / 355.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008122, allocations: 4 kB / 355.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.008152, allocations: 23.88 kB / 355.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.008159, allocations: 8 kB / 355.9 MB, free: 1.262 MB / 282.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 5.073e-05/0.00821, allocations: 164.5 kB / 356.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.008234, allocations: 19.91 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.008263, allocations: 29.56 kB / 356.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.008266, allocations: 3.938 kB / 356.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.008269, allocations: 4 kB / 356.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008272, allocations: 7.984 kB / 356.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.008387, allocations: 180.5 kB / 356.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.008388, allocations: 0 / 356.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.008541, allocations: 107.9 kB / 356.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008542, allocations: 0 / 356.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.00855, allocations: 8 kB / 356.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008552, allocations: 0 / 356.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008553, allocations: 3.938 kB / 356.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.008685, allocations: 299.8 kB / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.008693, allocations: 15.84 kB / 356.8 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.008706, allocations: 12 kB / 356.8 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.008746, allocations: 7.984 kB / 356.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.008777, allocations: 15.91 kB / 356.8 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.008782, allocations: 8 kB / 356.8 MB, free: 332 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.69e-05/0.008799, allocations: 127.2 kB / 356.9 MB, free: 204 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008799, allocations: 0 / 356.9 MB, free: 204 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.008962, allocations: 51.89 kB / 357 MB, free: 152 kB / 282.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 4.729e-05/0.00901, allocations: 95.19 kB / 357.1 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.009168, allocations: 111.5 kB / 357.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009171, allocations: 8 kB / 357.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/0.009235, allocations: 72.52 kB / 357.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.009428, allocations: 19.92 kB / 357.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.009909, allocations: 429.4 kB / 357.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.009952, allocations: 75.83 kB / 357.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.01001, allocations: 29.34 kB / 357.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.01005, allocations: 16.5 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01005, allocations: 0 / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.002724/0.01277, allocations: 0.9861 MB / 358.8 MB, free: 14.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.272890341002494]