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.0007441/0.0007441, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002053, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007277/0.0007277, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009346/0.001662, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08819/1.112, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2431/0.2431, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03333/0.2764, allocations: 13.09 MB / 291.3 MB, free: 7.363 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 9.72e-07/9.72e-07, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/1.064e-05, allocations: 3.078 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002159/0.002169, allocations: 2.142 MB / 294.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003504, allocations: 1.414 MB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.003573, allocations: 4 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.00361, allocations: 23.67 kB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.003664, allocations: 31.72 kB / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.003888, allocations: 195 kB / 296.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004029, allocations: 180 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.004166, allocations: 82.75 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.004296, allocations: 120.2 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.004351, allocations: 59.78 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.004367, allocations: 16 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.004545, allocations: 167.7 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.004565, allocations: 35.81 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.004601, allocations: 55.88 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.004827, allocations: 258.8 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.004838, allocations: 0 / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004839, allocations: 0 / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.004852, allocations: 0 / 297.4 MB, free: 1.5 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.0004193/0.005271, allocations: 0.4931 MB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/0.005295, allocations: 8.625 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/0.005792, allocations: 245 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.00592, allocations: 145.5 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.005936, allocations: 25.03 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.005953, allocations: 24.38 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.00611, allocations: 167.4 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.006119, allocations: 4.125 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006129, allocations: 8.375 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.006139, allocations: 15.92 kB / 298.5 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.006202, allocations: 64.55 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.006614, allocations: 417.1 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.006854, allocations: 175 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.006889, allocations: 33.31 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.006904, allocations: 8.234 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.006924, allocations: 38.8 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 9.71e-07/0.006925, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001525/0.007078, allocations: 131.9 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.007105, allocations: 55.41 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.007154, allocations: 114.6 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007167, allocations: 29.7 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.007207, allocations: 136.6 kB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.007252, allocations: 95.19 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.007292, allocations: 41.64 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.007366, allocations: 330.8 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.007385, allocations: 19.98 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.007404, allocations: 20.23 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.007461, allocations: 78.12 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007463, allocations: 4 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 9.012e-05/0.007553, allocations: 109.6 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007566, allocations: 8 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.007571, allocations: 0 / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.007581, allocations: 0 / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.007866, allocations: 131.8 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.007872, allocations: 7.938 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.007907, allocations: 23.84 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.007914, allocations: 3.984 kB / 300.6 MB, free: 14.17 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 6.495e-05/0.007979, allocations: 121.8 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.008003, allocations: 19.98 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.008032, allocations: 25.61 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.008035, allocations: 4 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.008037, allocations: 0 / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.008042, allocations: 3.938 kB / 300.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.008164, allocations: 129.7 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008165, allocations: 0 / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.008396, allocations: 131.9 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.008407, allocations: 19.88 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.008408, allocations: 0 / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008416, allocations: 8 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008418, allocations: 3.938 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008419, allocations: 0 / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.008532, allocations: 203.4 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.008542, allocations: 4 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.008581, allocations: 8 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.008606, allocations: 19.94 kB / 301.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.008612, allocations: 8 kB / 301.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.031e-05/0.008623, allocations: 12.84 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008623, allocations: 4 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.00876, allocations: 59.84 kB / 301.3 MB, free: 13.36 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 6.009e-05/0.00882, allocations: 84.23 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.008926, allocations: 93.2 kB / 301.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.008932, allocations: 0 / 301.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.008972, allocations: 56.75 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.009108, allocations: 32.17 kB / 301.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.01133, allocations: 464.6 kB / 302 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.646e-05/0.01138, allocations: 75.83 kB / 302.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.01144, allocations: 17.47 kB / 302.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.0115, allocations: 75.39 kB / 302.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01151, allocations: 0 / 302.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Templates: time 0.002628/0.01413, allocations: 1.118 MB / 303.3 MB, free: 11.32 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9474859833717346]