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.0009892/0.0009892, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001015/0.001015, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.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.2661/0.2661, allocations: 34.27 MB / 295.7 MB, free: 0.7422 MB / 266.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 2.194e-06/2.194e-06, allocations: 3.938 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.582e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002773/0.002799, allocations: 2.091 MB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.004675, allocations: 1.371 MB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004807, allocations: 4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.004877, allocations: 27.66 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.00502, allocations: 43.59 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.005581, allocations: 203 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.005777, allocations: 184 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.005965, allocations: 68.16 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.006146, allocations: 115.7 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.006224, allocations: 67.72 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.006254, allocations: 16 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.006491, allocations: 155.7 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.006525, allocations: 43.83 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.006581, allocations: 63.83 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.00688, allocations: 294.7 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006882, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006883, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.006888, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.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.0004815/0.00737, allocations: 0.5506 MB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.007409, allocations: 8.031 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.007998, allocations: 171.7 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.008182, allocations: 156.3 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.008206, allocations: 21.03 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.008228, allocations: 24.38 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.008449, allocations: 183.3 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.008459, allocations: 192 / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.008477, allocations: 12.38 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.008487, allocations: 7.938 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.008608, allocations: 99.84 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.009186, allocations: 0.5351 MB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.009496, allocations: 184.4 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.009562, allocations: 56.06 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.009582, allocations: 8.234 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.009608, allocations: 37.62 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.00961, allocations: 0 / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002717/0.009882, allocations: 179.9 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.009914, allocations: 51.41 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.009985, allocations: 165.9 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.009999, allocations: 29.7 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.01006, allocations: 183.4 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.01012, allocations: 91.17 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.01018, allocations: 51.36 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.0103, allocations: 0.4923 MB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.01034, allocations: 31.92 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.01038, allocations: 35.95 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.01048, allocations: 85.08 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01048, allocations: 0 / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001512/0.01063, allocations: 153.5 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01064, allocations: 4 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01065, allocations: 0 / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01067, allocations: 11.92 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.01086, allocations: 95.89 kB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.01087, allocations: 12.17 kB / 386.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.0109, allocations: 15.89 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01091, allocations: 8 kB / 386.5 MB, free: 9.949 MB / 362.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 8.472e-05/0.01099, allocations: 168.5 kB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.01102, allocations: 15.95 kB / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.01105, allocations: 25.62 kB / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01106, allocations: 3.938 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01106, allocations: 4 kB / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01107, allocations: 7.984 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.01123, allocations: 180.5 kB / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.01123, allocations: 0 / 386.9 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.0114, allocations: 103.9 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.0114, allocations: 0 / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01141, allocations: 8 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01141, allocations: 4 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01142, allocations: 3.938 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.01162, allocations: 303.8 kB / 387.3 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.01163, allocations: 11.89 kB / 387.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.01164, allocations: 11.98 kB / 387.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.01168, allocations: 4 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.01173, allocations: 19.91 kB / 387.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.01173, allocations: 4 kB / 387.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.01177, allocations: 131.1 kB / 387.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01177, allocations: 0 / 387.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01195, allocations: 63.84 kB / 387.5 MB, free: 8.836 MB / 362.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.514e-05/0.01203, allocations: 99.23 kB / 387.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.01223, allocations: 104 kB / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01223, allocations: 0 / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.0123, allocations: 79.5 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.01251, allocations: 12 kB / 387.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.01303, allocations: 434.7 kB / 388.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.108e-05/0.01308, allocations: 83.83 kB / 388.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.355e-05/0.01314, allocations: 17.47 kB / 388.3 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.01318, allocations: 16.5 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01318, allocations: 4 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of Templates: time 0.003088/0.01627, allocations: 1.034 MB / 389.4 MB, free: 6.918 MB / 362.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 -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: 3.172071110922843]