Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 77.92 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 155 kB / 25.61 MB, free: 8.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9766/0.9766, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1564/0.1564, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.025e-05, allocations: 4.031 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002415/0.002435, allocations: 2.068 MB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.004147, allocations: 1.369 MB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.004278, allocations: 4 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.794e-05/0.004336, allocations: 27.66 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.004467, allocations: 39.59 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.005068, allocations: 203 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.005269, allocations: 184 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.005457, allocations: 84.06 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.005668, allocations: 115.6 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.005747, allocations: 71.72 kB / 384.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.00577, allocations: 12 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.005992, allocations: 151.7 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.006018, allocations: 43.83 kB / 384.4 MB, free: 18.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.006059, allocations: 67.75 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.006341, allocations: 286.8 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.006346, allocations: 0 / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006347, allocations: 4 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.006352, allocations: 0 / 384.7 MB, free: 18.02 MB / 314.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.0004254/0.006778, allocations: 0.5506 MB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.006821, allocations: 8.031 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.007432, allocations: 175.7 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.007615, allocations: 160.2 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.007635, allocations: 25.03 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.007654, allocations: 24.38 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.007839, allocations: 159.4 kB / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007849, allocations: 192 / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.007864, allocations: 12.38 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007872, allocations: 7.938 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.00794, allocations: 80.5 kB / 385.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.008455, allocations: 0.5044 MB / 386.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.008711, allocations: 184.5 kB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.008749, allocations: 36.14 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.00877, allocations: 8.234 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.008787, allocations: 37.62 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.824e-06/0.008789, allocations: 4 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002003/0.00899, allocations: 158 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.009015, allocations: 59.34 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.009061, allocations: 165.9 kB / 387.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.009071, allocations: 29.7 kB / 387.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.009108, allocations: 179.5 kB / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.009148, allocations: 95.16 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.009192, allocations: 43.34 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.009246, allocations: 0.4923 MB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.00927, allocations: 19.98 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.009294, allocations: 32.17 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.00936, allocations: 75.67 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009362, allocations: 0 / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001179/0.00948, allocations: 141.9 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.009493, allocations: 4 kB / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.009499, allocations: 0 / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.009508, allocations: 0 / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.009703, allocations: 95.95 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.009707, allocations: 7.938 kB / 388.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.009742, allocations: 23.83 kB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.00975, allocations: 4.25 kB / 388.3 MB, free: 14.25 MB / 314.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 7.061e-05/0.009821, allocations: 168.5 kB / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.009848, allocations: 19.95 kB / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.00988, allocations: 21.62 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009883, allocations: 4 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.009889, allocations: 7.938 kB / 388.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.009894, allocations: 3.984 kB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.01003, allocations: 157.1 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01003, allocations: 4 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.0102, allocations: 99.88 kB / 388.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0102, allocations: 0 / 388.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01021, allocations: 8 kB / 388.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01021, allocations: 3.984 kB / 388.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01021, allocations: 0 / 388.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.01038, allocations: 303.9 kB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.0104, allocations: 19.89 kB / 389.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.01041, allocations: 4 kB / 389.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/0.01046, allocations: 4 kB / 389.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.0105, allocations: 19.95 kB / 389.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.0105, allocations: 4 kB / 389.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.523e-05/0.01053, allocations: 127.2 kB / 389.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01053, allocations: 0 / 389.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.01072, allocations: 59.72 kB / 389.3 MB, free: 13.18 MB / 314.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 7.693e-05/0.01079, allocations: 99.19 kB / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01092, allocations: 99.61 kB / 389.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01092, allocations: 3.938 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.01097, allocations: 60.28 kB / 389.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.01121, allocations: 22.95 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.01171, allocations: 419.2 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01175, allocations: 83.77 kB / 390.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.01182, allocations: 21.45 kB / 390.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.0119, allocations: 94.19 kB / 390.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0119, allocations: 3.938 kB / 390.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of Templates: time 0.003601/0.0155, allocations: 1.123 MB / 391.3 MB, free: 11.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.4107046090066433]