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.0009845/0.0009845, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001211/0.001211, allocations: 168.8 kB / 24.91 MB, free: 9.191 MB / 18.57 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2754/0.2754, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 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 1.122e-06/1.122e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.597e-05, allocations: 3.016 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002492/0.002508, allocations: 2.127 MB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.004269, allocations: 1.395 MB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004371, allocations: 4 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.937e-05/0.00442, allocations: 23.67 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.004522, allocations: 35.66 kB / 328.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.004932, allocations: 199 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.005096, allocations: 180 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.00526, allocations: 82.75 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.005432, allocations: 115.7 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.005502, allocations: 63.72 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.005521, allocations: 16 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.005744, allocations: 167.7 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.005771, allocations: 43.83 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.005815, allocations: 68.39 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.006069, allocations: 286.8 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.006072, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006072, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.006075, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.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.000358/0.006433, allocations: 441.5 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.006461, allocations: 12.03 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.00702, allocations: 179.8 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.007157, allocations: 137.5 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.007175, allocations: 28.97 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.007191, allocations: 24.38 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.007356, allocations: 167.4 kB / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007365, allocations: 192 / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007378, allocations: 12.38 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.007387, allocations: 7.938 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.007702, allocations: 68.53 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.008155, allocations: 417.6 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.008379, allocations: 164.5 kB / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.008418, allocations: 42.42 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.008434, allocations: 8.234 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.008453, allocations: 34.8 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/0.008455, allocations: 0 / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001577/0.008613, allocations: 128 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.008638, allocations: 55.41 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.008687, allocations: 114.6 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.008699, allocations: 29.7 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.008738, allocations: 140.6 kB / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.008783, allocations: 91.16 kB / 332.3 MB, free: 460 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.008825, allocations: 45.69 kB / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.008893, allocations: 326.8 kB / 332.7 MB, free: 72 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.008912, allocations: 19.92 kB / 332.7 MB, free: 52 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.008933, allocations: 23.98 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.009005, allocations: 70.19 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.009007, allocations: 0 / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 9.174e-05/0.009099, allocations: 109.6 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.00911, allocations: 7.984 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.009115, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.009127, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.00941, allocations: 127.8 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.009414, allocations: 8.188 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.009445, allocations: 15.89 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.009453, allocations: 8 kB / 333.1 MB, free: 15.68 MB / 314.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.807e-05/0.009511, allocations: 121.8 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.009535, allocations: 19.98 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.009563, allocations: 25.61 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009566, allocations: 4 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.009568, allocations: 0 / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.009573, allocations: 7.922 kB / 333.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.009694, allocations: 129.7 kB / 333.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009696, allocations: 4 kB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.00993, allocations: 131.8 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.009931, allocations: 0 / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.009939, allocations: 4 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00994, allocations: 0 / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009941, allocations: 8 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.01007, allocations: 203.4 kB / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.01008, allocations: 11.89 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01009, allocations: 4 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.01013, allocations: 11.98 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01016, allocations: 15.95 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.01017, allocations: 8 kB / 333.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.01e-05/0.01018, allocations: 12.8 kB / 333.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01018, allocations: 3.938 kB / 333.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.01033, allocations: 59.84 kB / 333.8 MB, free: 14.86 MB / 314.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 5.778e-05/0.01038, allocations: 80.36 kB / 333.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.894e-05/0.01048, allocations: 93.2 kB / 334 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01048, allocations: 4 kB / 334 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.01053, allocations: 65.16 kB / 334.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.01067, allocations: 11.98 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.01109, allocations: 446.5 kB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.01114, allocations: 75.83 kB / 334.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.0112, allocations: 21.47 kB / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.01126, allocations: 71.38 kB / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01126, allocations: 0 / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Templates: time 0.002677/0.01394, allocations: 1.1 MB / 335.8 MB, free: 12.88 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.8655963968485594]