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.001078/0.001078, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001808/0.002886, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001158/0.001158, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002534, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.069/1.069, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.176, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.2578/0.2578, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02489/0.2827, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.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.783e-06/1.783e-06, allocations: 0 / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.622e-05, allocations: 10.25 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003791/0.003817, allocations: 2.141 MB / 295 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.00625, allocations: 1.402 MB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.006394, allocations: 7.938 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.887e-05/0.006463, allocations: 19.73 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.006588, allocations: 43.59 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.00709, allocations: 191.1 kB / 296.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.007325, allocations: 176 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.007558, allocations: 87.23 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.007835, allocations: 123.7 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.007944, allocations: 67.72 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.007974, allocations: 12 kB / 297.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.0083, allocations: 163.7 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.008342, allocations: 31.88 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.008418, allocations: 51.88 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.008861, allocations: 270.8 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.008876, allocations: 0 / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.008878, allocations: 0 / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.008889, allocations: 0 / 297.6 MB, free: 1.398 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.0006355/0.009525, allocations: 489 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.009567, allocations: 12.62 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000987/0.01055, allocations: 257 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.01077, allocations: 145.5 kB / 298.5 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.0108, allocations: 17.03 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.01083, allocations: 24.38 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.01116, allocations: 167.4 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01117, allocations: 192 / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.01119, allocations: 12.38 kB / 298.7 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.0112, allocations: 11.94 kB / 298.7 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.01132, allocations: 72.42 kB / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.01201, allocations: 421.1 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.01243, allocations: 170.5 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.01249, allocations: 33.33 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.01252, allocations: 12.22 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.01255, allocations: 42.78 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.01255, allocations: 0 / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002446/0.0128, allocations: 128.6 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.01283, allocations: 55.41 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.0129, allocations: 110.6 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01292, allocations: 33.7 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.01298, allocations: 136.6 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.01305, allocations: 83.22 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.01312, allocations: 49.67 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.01323, allocations: 322.8 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.01326, allocations: 23.98 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.0133, allocations: 20.22 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.01356, allocations: 72.77 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01356, allocations: 0 / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001542/0.01372, allocations: 114 kB / 300.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01374, allocations: 4 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.01374, allocations: 4 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01376, allocations: 0 / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.01423, allocations: 139.8 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01424, allocations: 3.938 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.0143, allocations: 16.09 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01431, allocations: 16 kB / 300.8 MB, free: 14.08 MB / 298.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 8.523e-05/0.0144, allocations: 117.8 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.01443, allocations: 11.98 kB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.01449, allocations: 29.62 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01449, allocations: 0 / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01449, allocations: 0 / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.0145, allocations: 11.92 kB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.0147, allocations: 133.6 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0147, allocations: 0 / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.01511, allocations: 131.9 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.01513, allocations: 19.83 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.01513, allocations: 4 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01514, allocations: 0 / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01515, allocations: 4 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01515, allocations: 0 / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.01534, allocations: 211.3 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01536, allocations: 4 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.01544, allocations: 8 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.01548, allocations: 19.95 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01549, allocations: 4 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.909e-05/0.01551, allocations: 12.84 kB / 301.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01551, allocations: 4 kB / 301.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01578, allocations: 59.84 kB / 301.5 MB, free: 13.26 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.0001074/0.01588, allocations: 84.3 kB / 301.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01604, allocations: 85.22 kB / 301.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.01605, allocations: 0 / 301.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.01615, allocations: 85.38 kB / 301.8 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.0164, allocations: 35.06 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.02024, allocations: 461.3 kB / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.02031, allocations: 75.83 kB / 302.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.02042, allocations: 17.47 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.02052, allocations: 75.38 kB / 302.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.533e-06/0.02052, allocations: 0 / 302.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of Templates: time 0.004219/0.02474, allocations: 1.123 MB / 303.6 MB, free: 11.21 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8652368057519197]