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.000795/0.000795, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001883, allocations: 452 kB / 10.43 MB, free: 264 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.0007157/0.0007157, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001797, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8074/0.8074, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1368/0.9442, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1176/0.1176, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01962/0.1372, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.042e-06/1.042e-06, allocations: 0 / 267.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.435e-05, allocations: 6.25 kB / 267.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002082/0.002096, allocations: 2.112 MB / 269.5 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003338, allocations: 1.333 MB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.0034, allocations: 4 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.003445, allocations: 27.66 kB / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.00351, allocations: 39.64 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.003747, allocations: 175.1 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.003876, allocations: 180 kB / 271.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004014, allocations: 82.7 kB / 271.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.004136, allocations: 123.7 kB / 271.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.004207, allocations: 63.78 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.004227, allocations: 16 kB / 271.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.004411, allocations: 155.7 kB / 271.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.004433, allocations: 31.88 kB / 271.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.004467, allocations: 47.88 kB / 271.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.004772, allocations: 258.8 kB / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.004782, allocations: 0 / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004782, allocations: 0 / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.004791, allocations: 0 / 272 MB, free: 13.87 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.0004072/0.005198, allocations: 491.8 kB / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.005226, allocations: 19.81 kB / 272.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.005793, allocations: 244.9 kB / 272.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.005871, allocations: 125.5 kB / 272.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.005886, allocations: 21.03 kB / 272.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.005908, allocations: 28.38 kB / 272.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.006074, allocations: 183.3 kB / 273.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.006082, allocations: 192 / 273.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006092, allocations: 12.38 kB / 273.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006099, allocations: 11.94 kB / 273.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.006161, allocations: 60.55 kB / 273.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.006596, allocations: 421.1 kB / 273.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.006838, allocations: 179.8 kB / 273.8 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.006873, allocations: 33.31 kB / 273.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.006888, allocations: 4.234 kB / 273.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.006906, allocations: 39.27 kB / 273.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.233e-06/0.006907, allocations: 0 / 273.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001538/0.007061, allocations: 126.3 kB / 274 MB, free: 11.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.007085, allocations: 55.41 kB / 274 MB, free: 11.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.162e-05/0.007127, allocations: 110.6 kB / 274.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.007139, allocations: 29.7 kB / 274.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.007178, allocations: 140.7 kB / 274.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.007222, allocations: 91.16 kB / 274.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.007261, allocations: 41.7 kB / 274.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.007326, allocations: 330.7 kB / 274.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.007347, allocations: 23.97 kB / 274.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.007366, allocations: 24.2 kB / 274.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.007424, allocations: 68.73 kB / 274.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007426, allocations: 256 / 274.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 8.425e-05/0.00751, allocations: 110.1 kB / 275 MB, free: 10.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.00752, allocations: 8 kB / 275 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007524, allocations: 4 kB / 275 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.007533, allocations: 4 kB / 275 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.007813, allocations: 131.8 kB / 275.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.007817, allocations: 3.938 kB / 275.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.007846, allocations: 19.84 kB / 275.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007854, allocations: 7.984 kB / 275.2 MB, free: 10.55 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.923e-05/0.007913, allocations: 121.8 kB / 275.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.007936, allocations: 15.98 kB / 275.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.007962, allocations: 21.31 kB / 275.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007965, allocations: 8 kB / 275.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.007966, allocations: 0 / 275.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.00797, allocations: 3.938 kB / 275.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.008217, allocations: 133.7 kB / 275.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008217, allocations: 0 / 275.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.00845, allocations: 127.9 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.00846, allocations: 19.86 kB / 275.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.008465, allocations: 7.938 kB / 275.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.008472, allocations: 4 kB / 275.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.008474, allocations: 3.984 kB / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.008474, allocations: 0 / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.008587, allocations: 215.6 kB / 275.8 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.008598, allocations: 8 kB / 275.8 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.008635, allocations: 4 kB / 275.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.008664, allocations: 15.97 kB / 275.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.00867, allocations: 7.984 kB / 275.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.09e-05/0.008681, allocations: 8.859 kB / 275.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008681, allocations: 0 / 275.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.00882, allocations: 59.84 kB / 275.9 MB, free: 9.742 MB / 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 9.75e-05/0.008918, allocations: 80.3 kB / 276 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.009026, allocations: 96.72 kB / 276.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.009034, allocations: 8 kB / 276.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.009088, allocations: 77.62 kB / 276.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.009238, allocations: 28.19 kB / 276.2 MB, free: 9.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.01145, allocations: 455.5 kB / 276.7 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.01149, allocations: 79.83 kB / 276.8 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.926e-05/0.01155, allocations: 17.47 kB / 276.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.01162, allocations: 71.39 kB / 276.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01162, allocations: 0 / 276.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of Templates: time 0.002581/0.0142, allocations: 1.13 MB / 278 MB, free: 7.66 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4485722994431853]