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.0009698/0.0009698, allocations: 80.98 kB / 20.66 MB, free: 3.836 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.0009986/0.0009986, allocations: 173 kB / 24.06 MB, free: 448 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.03/1.03, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.1496/0.1496, allocations: 32.37 MB / 270.7 MB, free: 14.53 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 4.288e-06/4.288e-06, allocations: 7.938 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.819e-05, allocations: 2.312 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004257/0.004295, allocations: 2.06 MB / 350.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.006316, allocations: 1.29 MB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.006467, allocations: 4 kB / 351.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.45e-05/0.006532, allocations: 27.66 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.006681, allocations: 39.7 kB / 351.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.007226, allocations: 187.1 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.007385, allocations: 188 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.007551, allocations: 72.14 kB / 352 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.007711, allocations: 115.6 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.007789, allocations: 63.78 kB / 352.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.007808, allocations: 16 kB / 352.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.008037, allocations: 147.7 kB / 352.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.008065, allocations: 51.77 kB / 352.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.008099, allocations: 59.83 kB / 352.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.008363, allocations: 278.8 kB / 352.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.008367, allocations: 0 / 352.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.008369, allocations: 0 / 352.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.008375, allocations: 0 / 352.7 MB, free: 4.559 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.0003966/0.008772, allocations: 0.5506 MB / 353.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.00881, allocations: 12.03 kB / 353.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005185/0.009329, allocations: 163.7 kB / 353.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.258e-05/0.009421, allocations: 132.4 kB / 353.6 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.009444, allocations: 17.03 kB / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.00947, allocations: 24.38 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.00966, allocations: 167.4 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.009671, allocations: 192 / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.009684, allocations: 12.38 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.009695, allocations: 15.92 kB / 353.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.009762, allocations: 68.52 kB / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.01033, allocations: 0.5161 MB / 354.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.01058, allocations: 165 kB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.01062, allocations: 48.14 kB / 354.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.01065, allocations: 4.234 kB / 354.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.01067, allocations: 42.06 kB / 354.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.01067, allocations: 4 kB / 354.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002101/0.01088, allocations: 159.6 kB / 354.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.01091, allocations: 63.28 kB / 354.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.01096, allocations: 165.9 kB / 355 MB, free: 2.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.01097, allocations: 29.7 kB / 355 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.01102, allocations: 179.4 kB / 355.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.01107, allocations: 95.16 kB / 355.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.01111, allocations: 47.34 kB / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.01119, allocations: 0.5001 MB / 355.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.01122, allocations: 19.98 kB / 355.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.01124, allocations: 28.19 kB / 355.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.371e-05/0.01132, allocations: 71.66 kB / 356 MB, free: 1.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01132, allocations: 0 / 356 MB, free: 1.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001414/0.01146, allocations: 146 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01148, allocations: 4 kB / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01149, allocations: 0 / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01151, allocations: 0 / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.01173, allocations: 95.95 kB / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.01173, allocations: 3.938 kB / 356.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.01176, allocations: 19.88 kB / 356.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01177, allocations: 4 kB / 356.2 MB, free: 0.8242 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 6.745e-05/0.01184, allocations: 168.5 kB / 356.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.01187, allocations: 23.91 kB / 356.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.0119, allocations: 21.31 kB / 356.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.01191, allocations: 8 kB / 356.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01191, allocations: 3.938 kB / 356.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01192, allocations: 3.984 kB / 356.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.01207, allocations: 153.1 kB / 356.6 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01207, allocations: 0 / 356.6 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.01224, allocations: 103.9 kB / 356.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01224, allocations: 0 / 356.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01225, allocations: 12 kB / 356.7 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.01225, allocations: 0 / 356.7 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01225, allocations: 0 / 356.7 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01244, allocations: 287.8 kB / 357 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.01246, allocations: 19.84 kB / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.01247, allocations: 4 kB / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.01252, allocations: 7.938 kB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.01255, allocations: 15.97 kB / 357.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01256, allocations: 11.94 kB / 357.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.0126, allocations: 127.4 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0126, allocations: 4 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.0128, allocations: 59.83 kB / 357.3 MB, free: 15.75 MB / 298.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 0.0001065/0.01291, allocations: 91.25 kB / 357.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.01306, allocations: 99.55 kB / 357.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01306, allocations: 0 / 357.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.01313, allocations: 68.44 kB / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01335, allocations: 23.92 kB / 357.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.01393, allocations: 421.4 kB / 357.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.908e-05/0.01399, allocations: 79.83 kB / 358 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.01405, allocations: 17.47 kB / 358 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.01414, allocations: 90.19 kB / 358.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01414, allocations: 8 kB / 358.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Templates: time 0.0033/0.01744, allocations: 1.108 MB / 359.2 MB, free: 13.72 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.1121546011418104]