Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002023/0.003191, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002753, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8811/0.8811, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1616/1.043, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1361/0.1361, allocations: 32.79 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02306/0.1592, allocations: 12.54 MB / 284.5 MB, free: 9.699 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.976e-05, allocations: 5.547 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003246/0.003266, allocations: 2.133 MB / 288 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.005203, allocations: 1.336 MB / 289.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.005266, allocations: 4 kB / 289.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.005309, allocations: 23.67 kB / 289.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.005378, allocations: 31.72 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.00567, allocations: 183 kB / 289.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.005812, allocations: 188 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.005944, allocations: 74.77 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.006071, allocations: 115.6 kB / 289.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.006146, allocations: 63.78 kB / 290 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.006166, allocations: 16 kB / 290 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.006369, allocations: 159.7 kB / 290.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.006395, allocations: 31.88 kB / 290.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.006429, allocations: 47.88 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.006676, allocations: 262.8 kB / 290.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.006686, allocations: 0 / 290.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006686, allocations: 4 kB / 290.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.006694, allocations: 0 / 290.5 MB, free: 3.711 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.0004188/0.007113, allocations: 483.8 kB / 291 MB, free: 3.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.007139, allocations: 8.031 kB / 291 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.007701, allocations: 256.9 kB / 291.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.0078, allocations: 133.5 kB / 291.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.007814, allocations: 17.03 kB / 291.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.007837, allocations: 28.38 kB / 291.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.007992, allocations: 175.3 kB / 291.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.008, allocations: 192 / 291.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.008012, allocations: 8.375 kB / 291.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.008021, allocations: 11.94 kB / 291.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.008085, allocations: 72.53 kB / 291.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.008516, allocations: 421.1 kB / 292.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.008762, allocations: 174.9 kB / 292.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.008798, allocations: 39.17 kB / 292.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.008816, allocations: 4.234 kB / 292.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.008836, allocations: 42.8 kB / 292.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.223e-06/0.008837, allocations: 0 / 292.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001494/0.008986, allocations: 127.5 kB / 292.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.00901, allocations: 59.34 kB / 292.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.221e-05/0.009052, allocations: 106.6 kB / 292.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.009066, allocations: 33.7 kB / 292.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.009106, allocations: 132.7 kB / 292.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.009157, allocations: 87.17 kB / 292.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.009204, allocations: 45.69 kB / 292.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.00927, allocations: 326.8 kB / 293.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.00929, allocations: 19.98 kB / 293.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.00931, allocations: 24.2 kB / 293.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.009368, allocations: 72.78 kB / 293.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00937, allocations: 0 / 293.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 8.602e-05/0.009456, allocations: 110 kB / 293.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.009465, allocations: 4 kB / 293.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.009469, allocations: 0 / 293.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.00948, allocations: 4 kB / 293.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.009772, allocations: 131.9 kB / 293.6 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.009775, allocations: 3.938 kB / 293.6 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.009808, allocations: 15.89 kB / 293.6 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.009815, allocations: 11.94 kB / 293.6 MB, free: 428 kB / 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.671e-05/0.009872, allocations: 117.8 kB / 293.7 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.009893, allocations: 19.98 kB / 293.8 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.009922, allocations: 25.31 kB / 293.8 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.009925, allocations: 4 kB / 293.8 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.009927, allocations: 0 / 293.8 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.009931, allocations: 7.922 kB / 293.8 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.01005, allocations: 125.7 kB / 293.9 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01005, allocations: 3.984 kB / 293.9 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.0103, allocations: 131.8 kB / 294.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.01031, allocations: 15.84 kB / 294.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01031, allocations: 4 kB / 294.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.01032, allocations: 4 kB / 294.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01032, allocations: 4 kB / 294.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.01032, allocations: 0 / 294.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.01044, allocations: 219.5 kB / 294.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.01045, allocations: 8 kB / 294.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.01049, allocations: 4.25 kB / 294.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.01052, allocations: 19.97 kB / 294.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.01053, allocations: 4 kB / 294.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.142e-05/0.01054, allocations: 16.83 kB / 294.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 294.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.01069, allocations: 63.78 kB / 294.4 MB, free: 15.59 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.619e-05/0.01076, allocations: 88.3 kB / 294.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01086, allocations: 84.75 kB / 294.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01087, allocations: 4 kB / 294.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.01093, allocations: 81.67 kB / 294.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.01108, allocations: 35.86 kB / 294.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.01354, allocations: 452.4 kB / 295.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.01359, allocations: 79.83 kB / 295.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.01365, allocations: 21.41 kB / 295.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.01372, allocations: 71.38 kB / 295.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01372, allocations: 0 / 295.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of Templates: time 0.002525/0.01625, allocations: 1.119 MB / 296.4 MB, free: 13.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.568092217668891]