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.001236/0.001236, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001649/0.001649, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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.475/1.475, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2643/0.2643, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.373e-06/1.373e-06, allocations: 0 / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.143e-05, allocations: 2.281 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00343/0.003452, allocations: 2.041 MB / 444.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.005849, allocations: 1.273 MB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.00595, allocations: 4 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.573e-05/0.006016, allocations: 23.72 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.006157, allocations: 39.59 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.006721, allocations: 203 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.006979, allocations: 184 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.007183, allocations: 80.8 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.007416, allocations: 119.6 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.007519, allocations: 63.72 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.007551, allocations: 16 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.007854, allocations: 155.7 kB / 446.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.007898, allocations: 43.83 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.007973, allocations: 59.83 kB / 447 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.008534, allocations: 334.6 kB / 447.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.008539, allocations: 8 kB / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.00854, allocations: 0 / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.008547, allocations: 0 / 447.3 MB, free: 0.7227 MB / 366.1 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.0008024/0.009349, allocations: 461.5 kB / 447.8 MB, free: 248 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.009387, allocations: 8.031 kB / 447.8 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/0.01038, allocations: 76.73 kB / 447.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2034/0.2138, allocations: 149.4 kB / 448 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.2138, allocations: 24.62 kB / 448 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.2139, allocations: 25.59 kB / 448 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.2143, allocations: 202.6 kB / 448.2 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2143, allocations: 1.312 kB / 448.2 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2144, allocations: 13 kB / 448.3 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2144, allocations: 6.438 kB / 448.3 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.2147, allocations: 148.7 kB / 448.4 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.2154, allocations: 471 kB / 448.9 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.216, allocations: 217 kB / 449.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2161, allocations: 64.91 kB / 449.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.2161, allocations: 7.234 kB / 449.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2162, allocations: 33.94 kB / 449.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.2162, allocations: 0 / 449.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004743/0.2166, allocations: 222.1 kB / 449.4 MB, free: 18.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.2167, allocations: 54.66 kB / 449.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.2167, allocations: 104.7 kB / 449.6 MB, free: 18.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2167, allocations: 32.77 kB / 449.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.2168, allocations: 131.3 kB / 449.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.2169, allocations: 95.91 kB / 449.8 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.2169, allocations: 43.66 kB / 449.8 MB, free: 18.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.217, allocations: 324.7 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2171, allocations: 43.08 kB / 450.2 MB, free: 17.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.068e-05/0.2172, allocations: 49.12 kB / 450.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.2174, allocations: 118.6 kB / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2174, allocations: 0 / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002652/0.2177, allocations: 167.4 kB / 450.5 MB, free: 17.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2177, allocations: 6.172 kB / 450.5 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2177, allocations: 0 / 450.5 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2177, allocations: 1.062 kB / 450.5 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.2181, allocations: 98.2 kB / 450.6 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2181, allocations: 1.312 kB / 450.6 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.2182, allocations: 24.2 kB / 450.7 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2182, allocations: 13.28 kB / 450.7 MB, free: 17.79 MB / 366.1 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.313e-05/0.2183, allocations: 125 kB / 450.8 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2183, allocations: 13.47 kB / 450.8 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.2184, allocations: 28.52 kB / 450.8 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2184, allocations: 2.75 kB / 450.8 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2184, allocations: 0 / 450.8 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2184, allocations: 2.594 kB / 450.8 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.2186, allocations: 186.3 kB / 451 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2186, allocations: 0.5156 kB / 451 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.2189, allocations: 105.3 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2189, allocations: 2.516 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2189, allocations: 4.438 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2189, allocations: 2.484 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2189, allocations: 0 / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.2192, allocations: 283 kB / 451.4 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.2192, allocations: 12.58 kB / 451.4 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.2193, allocations: 6.031 kB / 451.4 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.2194, allocations: 12.67 kB / 451.4 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.2194, allocations: 17.52 kB / 451.5 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2194, allocations: 6.141 kB / 451.5 MB, free: 17.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.2194, allocations: 86.5 kB / 451.6 MB, free: 17.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2194, allocations: 0 / 451.6 MB, free: 17.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.2197, allocations: 51.12 kB / 451.6 MB, free: 17.15 MB / 366.1 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 8.881e-05/0.2198, allocations: 99.06 kB / 451.7 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.2201, allocations: 137.5 kB / 451.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2201, allocations: 1.094 kB / 451.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2202, allocations: 71.64 kB / 451.9 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2204, allocations: 11.31 kB / 451.9 MB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.2211, allocations: 418.7 kB / 452.3 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.737e-05/0.2212, allocations: 124.7 kB / 452.4 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.025e-05/0.2213, allocations: 14.83 kB / 452.5 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.2214, allocations: 18.12 kB / 452.5 MB, free: 16.65 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2214, allocations: 0 / 452.5 MB, free: 16.65 MB / 366.1 MB Notification: Performance of Templates: time 0.003724/0.2251, allocations: 0.7749 MB / 453.3 MB, free: 16.54 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.954862553626299]