Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.0017/0.0017, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001913/0.001913, allocations: 216.8 kB / 24.47 MB, free: 4.359 MB / 14.72 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 1.646/1.646, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2488/0.2488, allocations: 46.89 MB / 361.1 MB, free: 4.723 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 87.84 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3949, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003509/0.3984, allocations: 2.133 MB / 0.5633 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.4007, allocations: 1.418 MB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.4008, allocations: 4 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.4009, allocations: 23.67 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.401, allocations: 35.66 kB / 0.5647 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.4015, allocations: 195.3 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.4017, allocations: 180.1 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.4019, allocations: 91.31 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.4021, allocations: 87.64 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.4022, allocations: 87.55 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.4022, allocations: 16 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.4025, allocations: 155.9 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.4025, allocations: 35.84 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.4026, allocations: 95.47 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.403, allocations: 325.2 kB / 0.566 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.403, allocations: 4 kB / 0.566 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.403, allocations: 3.938 kB / 0.566 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4031, allocations: 0 / 0.566 GB, free: 116 kB / 398.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.0006701/0.4037, allocations: 0.5261 MB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.4038, allocations: 8.031 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008969/0.4047, allocations: 80.73 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.4049, allocations: 212.1 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.405, allocations: 20.94 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.405, allocations: 28.31 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.4054, allocations: 205.2 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4054, allocations: 3.938 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.4054, allocations: 8 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4054, allocations: 8 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.4057, allocations: 142.2 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.4065, allocations: 0.5968 MB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.407, allocations: 207.4 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.4072, allocations: 65.23 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4072, allocations: 8.172 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4072, allocations: 34.8 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.4072, allocations: 0 / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.000453/0.4077, allocations: 224.6 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4077, allocations: 55.41 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.4078, allocations: 101.8 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4078, allocations: 29.7 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.4079, allocations: 136.7 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.408, allocations: 91.17 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.4081, allocations: 45.7 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4082, allocations: 326.8 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.4083, allocations: 39.92 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.4084, allocations: 48.89 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.4086, allocations: 117.3 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4086, allocations: 256 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002732/0.4089, allocations: 165.5 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4089, allocations: 11.98 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4089, allocations: 4 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4089, allocations: 4 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.4093, allocations: 95.89 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4093, allocations: 0 / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.4094, allocations: 19.88 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4094, allocations: 8 kB / 0.5695 GB, free: 12.26 MB / 414.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 0.0001169/0.4095, allocations: 129.8 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.4095, allocations: 19.84 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.4096, allocations: 25.53 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4096, allocations: 0 / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4096, allocations: 4 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4096, allocations: 3.984 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.4099, allocations: 269.4 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4099, allocations: 3.938 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.4103, allocations: 103.9 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4103, allocations: 0 / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4103, allocations: 8 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4103, allocations: 0 / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4103, allocations: 0 / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.4106, allocations: 275.6 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.4107, allocations: 100.9 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4107, allocations: 4 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.4108, allocations: 11.94 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.4108, allocations: 19.95 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.4108, allocations: 8 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.4109, allocations: 83.28 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4109, allocations: 0 / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4112, allocations: 43.89 kB / 0.5706 GB, free: 11.07 MB / 414.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 0.0001142/0.4113, allocations: 107.2 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.4115, allocations: 119.9 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4115, allocations: 0 / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4117, allocations: 75.83 kB / 0.5709 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4119, allocations: 19.92 kB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.4126, allocations: 479.6 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.413, allocations: 0.7396 MB / 0.5721 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.467e-05/0.4131, allocations: 17.41 kB / 0.5721 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.4131, allocations: 15.44 kB / 0.5721 GB, free: 9.449 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4131, allocations: 0 / 0.5721 GB, free: 9.449 MB / 414.1 MB Notification: Performance of Templates: time 0.003724/0.4169, allocations: 1.033 MB / 0.5731 GB, free: 8.418 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.411183077376336]